photo

Stephanie Mendoza


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer