photo

Yazhisai


Last seen: 27 days ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I am getting "Array indices must be positive integers or logical values" error when viewsolid is used. What does this mean and how to solve it?
clc clear all syms x y z vol = int(int(x^2+y^2+1,x,0,sqrt(1+x^2)),y,0,1) viewSolid(z,0+0*x*y, x^2+y,x,0,sqrt(1+x^2),y,0,1); ...

27 days ago | 1 answer | 0

1

answer

Question


My code has an opstruct error. What does it mean and how to solve it?
clc clear all f = @(x, y) exp(-(x.^2 + y.^2)); x_min = 0; x_max = 1; y_min = @(x) 0; y_max = @(x) -sqrt(1 - x.^2); resul...

28 days ago | 2 answers | 0

2

answers