how to use Arc3d?

1 次查看(过去 30 天)
Farid sjdclkjas
Farid sjdclkjas 2013-8-22
hi, I want to use code Arc3d, but when i copy the example codes in matlab user guid, following error message appears: Error: Unexpected MATLAB operator. who knows how we can use this code? thanks alot,

采纳的回答

Walter Roberson
Walter Roberson 2013-8-22
Which MATLAB version are you using? Is the error message pointing to a "~" character?
  2 个评论
Farid sjdclkjas
Farid sjdclkjas 2013-8-22
thanks alot for your answer. I'm using MATLAB 2013,totally i can not use this code so i tried to run the examples which exist in matlab user guid, the below code is an example of the codes which i tried:
plot(plot::Arc3d(1, [0,0,0], 0.1..2*PI-0.1, Filled,
LineColor=RGB::Yellow, LineColor2=RGB::Red, LineColorType = Dichromatic, LineColorDirection=[+1,0,0],
FillColor=RGB::Yellow, FillColor2=RGB::Red, FillColorType = Dichromatic, FillColorDirection=[-1,0,0]
))
|| but the program shows this error:||
plot(plot::Arc3d(1, [0,0,0], 0.1..2*PI-0.1, Filled,...
|
Error: Unexpected MATLAB operator.
and the error ''Error: Unexpected MATLAB operator.'' is general for all the examples, the follow link is the link of these examples.
http://www.mathworks.com/help/symbolic/mupad_ref/plot-arc3d.html
Regards
Walter Roberson
Walter Roberson 2013-8-22
MuPAD code is not MATLAB code. You would need to run that code within a MuPAD notebook. To do that give the MATLAB command
nb = mupad

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by