mohsen


Active since 2016

Followers: 0   Following: 0

Statistics

MATLAB Answers

9 Questions
0 Answers

RANK
221 859
of 300 744

REPUTATION
0

CONTRIBUTIONS
9 Questions
0 Answers

ANSWER ACCEPTANCE
66.67%

VOTES RECEIVED
0

RANK
 of 21 054

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170 597

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 3

View badges

Feeds

View by

Question


Error "Inner matrix dimensions don't agree" I used the element wise operator but I still have the same error
F = [-40:20:40]; x = [0:0.1:0.8] y = [0:0.1:0.4] sigma_p = F./(x.*y) sigma_mx = (F.*y)....

mer än 9 år ago | 2 answers | 0

2

answers

Question


I am trying to plot my code using meshgrid command for three variables but I receive an error message
F = [-40:20:40]; x = linspace(0.1,0.8,length(F)); y = linspace(0.1,0.4,length(F)); sigm...

mer än 9 år ago | 1 answer | 0

1

answer

Question


When I try to 3d plot the code, the plot comes out empty what should I add to fix this problem
F = [-40:20:40]; x = 0.1:0.8; y = 0.1:0.4; sigma_p = @(x,y) F/(.8*x*y); sigma_mx = @(x,y) (F*y)/(1/12*(x)*(y)^3); ...

mer än 9 år ago | 1 answer | 0

1

answer

Question


I need to 3d plot the code but there is an error can I get help with fixing the error
F = [-40:20:40]; x = 0.1:0.8; y = 0.1:0.4; sigma_p = @(x,y) F/(.8*x*y); sigma_mx = @(x,y) (F*y)/(...

mer än 9 år ago | 1 answer | 0

1

answer

Question


Combining matrices, adding two matrices in into a bigger one.
Ke1 = [ 3 3 -3 3; 3 4 -3 2; -3 -3 3 -3; 3 2 -3 4]; Ke2 = [ 6 3 -6 3; 3 2 -3 1; -6 -3 6 -3; 3 1 -3 2]; Kg = zeros(6); ...

mer än 9 år ago | 1 answer | 0

1

answer

Question


Error "Matrix dimensions must agree" what should I fix?
a = 0.25; theta = 0; r = [0:12]; x = (30/2)*((1-(a^2/r.^2))+(1+3*(a^4/r.^4)-4*(a^2/r.^2)*cos(2*theta))) y = (30/2...

nästan 10 år ago | 1 answer | 0

1

answer

Question


I want to 3D plot the functions below but nothing appear on the figure, what should I add/change?
a = 0.25; theta = 0; r = 0.25; x = (30/2)*((1-(a^2/r^2))+(1+3*(a^4/r^4)-4*(a^2/r^2)*cos(2*theta))) y = (30/2)*((1+(...

nästan 10 år ago | 1 answer | 0

1

answer

Question


I need to plot the following functions but I receive this error "Invalid indexing or function definition. When defining a function ensure that the arguments are symbolic variables ...."
x = 2:30; y = 40:60; u = @(x,y) 10*sin(200*x)+0.1*cos(10*y)+(100*x)./y; v = @(x,y) 10*cos(200*...

nästan 10 år ago | 1 answer | 0

1

answer

Question


Error Z must be a matrix, not a scalar or vector.
prompt = 'what is the value of x'; prompt2 = 'what is value of y'; x = input(prompt); y = input(prompt2)...

nästan 10 år ago | 1 answer | 0

1

answer