필터 지우기
필터 지우기

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개)

카테고리

Help CenterFile Exchange에서 3-D Function Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by