Community Profile

photo

Bryan Tassin


Last seen: bijna 2 jaar ago Active since 2021

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Why is this newton raphson outputting the same number? How can I change this?
Im trying to use the data from each variable calculated to produce a plot, but I keep getting the same number output over th...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


Is there a way to make this code output a plot with curved lines?
When I run this code it outputs a plot with lines straight across rather than curved. Is there a way to fix this? %...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


Dot indexing is not supported for variables of this type. How to fix this?
[th3,th4,th5,r5] = NR(th1,th2(i),th3guess,th4guess,th5guess,r1,r2,r3,r4,r5guess); J = [-r3.*sin(th3guess),-r4.*sin(th4guess),...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


Why am I getting the not enough inputs error on line 63 when defining matrix (f=)?
% Clearing all values to ensure code runs properly clc; clear; % Initiating timer tic % Setting number of data points 'n' to...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


Invalid Expression. Check for missing or extra characters.
When I run this code I keep getting the invalid expression error message. How can I fix this? The error occurs at line 28 and 40...

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


How do I add local min and max values on each line of the plot like the plot shown below?
%Code used for first plot % Need the first plot to look exactly like the second plot plot(rad1,'red') hold on plot(in,'yello...

meer dan 2 jaar ago | 2 answers | 0

2

answers

Question


How do you change the color of legend lines? How do you make x axis go from 0 to 2pi?
plot(rad1, ’red’) hold on plot(in, ‘yellow’) plot(in1, ‘blue’) plot(in2, ‘green’) legend({ ‘\theta3(rad)’, ‘r3(in)’, ‘...

meer dan 2 jaar ago | 2 answers | 0

2

answers

Question


How would I generate a plot like this when data is in excel file?
<</matlabcentral/answers/uploaded_files/723359/81340640-A05A-4CA9-B67E-C1ED5059E3ED.jpeg>>

meer dan 2 jaar ago | 1 answer | 0

1

answer