Azzera filtri
Azzera filtri

how to use Arc3d?

1 visualizzazione (ultimi 30 giorni)
Farid sjdclkjas
Farid sjdclkjas il 22 Ago 2013
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,

Risposta accettata

Walter Roberson
Walter Roberson il 22 Ago 2013
Which MATLAB version are you using? Is the error message pointing to a "~" character?
  2 Commenti
Farid sjdclkjas
Farid sjdclkjas il 22 Ago 2013
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 il 22 Ago 2013
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

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by