![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25736884_1646021843667_DEF.jpg)
Stephanie Mendoza
Followers: 0 Following: 0
Feeds
提问
Can someone help with error "index exceeds number of array elements"? I attached image as to what it needs to look like..
a = 1.5; b = 4.2;%lower and upper bounds f = @(x) 2*x.^5 -x.^4 + 0.7*x.^3 - 2*x + 13; syms x fx = 2*x.^5 - (x.^4) + 0.7*x.^3...
2 years 前 | 2 个回答 | 0
2
个回答提问
Having issues with fprintf statement. It gives me "error using vertcat"
clear clc a = 1.5; b = 4.2;%lower and upper bounds f = @(x) 2*x.^5 -x.^4 + 0.7*x.^3 - 2*x + 13; I_exact = integral (f,a,b...
2 years 前 | 1 个回答 | 0
1
个回答提问
Graph gives warning : function behaves unexpectedly on array inputs. What does this mean?
%plot to view graph g =@(x) 3*x^3 +x^2 -2*x - 5; figure(2) o = -40:40; fplot(g,[-40 40])
2 years 前 | 1 个回答 | 0
1
个回答提问
Printing out proper equation statement using fprintf.
I need the following equation (fa(s)) to print out in this format. fa(s) =x.xxxx x^2 . Right now it is only printing out only t...
2 years 前 | 1 个回答 | 0