Community Profile

photo

Jonny Cummings


Active since 2016

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Suppress excess output of code
When i run newtraph the function outputs all the xrold values of each iteration, the roots are correct, is there a way to surpre...

8 years ago | 1 answer | 0

1

answer

Question


Why do i keep getting that the inner matrix dimensions must agree? i trying to plot this equation vs time but it keeps giving me this error, even if i use the '.*t' format
q0 = 10; R = 60; L = 9; C = 0.00005; t = linspace(0.1,0.8,8); q(t) = (q0)*exp((-R.*t)/(2*L))*cos(sqrt((1/(L*C))-((R/(...

8 years ago | 1 answer | 0

1

answer