Borrar filtros
Borrar filtros

how to use Arc3d?

1 visualización (últimos 30 días)
Farid sjdclkjas
Farid sjdclkjas el 22 de Ag. de 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,

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by