Community Profile

photo

Cameron Paterson


Last seen: 12 months ago Active since 2021

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


Error with Loop Martix formation
I have been trying to alter this code so that if it is a bumpy road 4s or 10s it will form 1x201 martix beginning at t=0 and end...

12 months ago | 1 answer | 0

1

answer

Question


Trying to fix the loop
I am trying to change my code so when it loops more than five times the error message changes to Invalid vehicle type! Re-enter...

1 year ago | 1 answer | 0

1

answer

Question


Error in repeat for loop
while switch Vehicle Type case{'compact','Compact'} fprintf('1') break case{'mi...

1 year ago | 0 answers | 0

0

answers

Question


Error in code for plot
x=linspace(0,2.*pi,101) plot(x,sin(x),'markeredgecolor','r',x,cos(x),'markeredgecolor','g',x,tan(x),'markeredgecolor','b',x,cot...

1 year ago | 1 answer | 0

1

answer

Question


I am getting error
math error t=linspace(0,15); x=(3*t.^2-5)*(t.^3)*sind(t./2)-8*t+27; v=6*t-2.5*(t.^3)*cosd(t./2)-15*t.^2*sind(t./2)-8; a=1.25...

1 year ago | 3 answers | 0

3

answers

Question


I am unsure of how I am getting this error
r=linspace(0.001,1,1000); s=0.75.*((r.^3)/(exp(1)^(.75.*r))); subplot(2,2,1) plot(r,s) xlabel('x') ylabel('y(x)') axis([...

1 year ago | 1 answer | 0

1

answer