Help,Conversion to double from sym is not possible
17 views
Skip to first unread message
mon...@gmail.com
unread,
Jun 5, 2006, 7:22:01 PM6/5/06
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
syms x; ab=exp(-abs(x)); z=zeros(1,10); for n=1:10 z(n)=int((x^n)*ab,x,-inf,inf); end
matlab tells : ??? Conversion to double from sym is not possible. I am a beginner of matlab, and don't understand what is wrong? Please explain it to me, if possible. Really appreciate.
Thank you. Mond Zhu
mond
unread,
Jun 6, 2006, 2:55:55 PM6/6/06
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I know what is going on here, now? I post the solution,maybe it helps.
syms x; > ab=exp(-abs(x)); > z=zeros(1,10); > for n=1:10