Error - Array indices must be positive integers or logical values - in viewSolid and viewSolidone

조회 수: 22 (최근 30일)
Im a trying to integrate and get a 3d representation of these functions but getting this error Plz help

채택된 답변

Abhinav
Abhinav 2023년 1월 19일
Hi Dev
change that code as
viewSolid(z,z_a+0*x+0*y,z_b+0*x+0*y,x,x_a+0*y+0*z,x_b+0*y+0*z,y,y_a+0*x+0*z,y_b+0*x+0*z)
now it will plot the figure
View Solid will integrate only if x, y and z variables are present in the integration that is only the error.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by