A répondu
How to connect the next set of points with a smooth line/curve?
Hi, The follwing link might help you : https://www.mathworks.com/matlabcentral/answers/371211-how-to-create-a-smooth-curve-thro...

plus de 3 ans il y a | 0

A répondu
How can I display bool values while executing a program on a connected device?
Hi, As per my understanding you want to find if the value is within the limits and get the boolean output. To check if the val...

plus de 3 ans il y a | 0

A répondu
. Transform the quadratic form 13x 2 −10xy + 13y 2 to canonical form and specify the matrix of transformation.
Hi Preethi, Refer this link https://www.mathworks.com/matlabcentral/answers/582095-convertion-of-quadratic-form-to-cononical-f...

plus de 3 ans il y a | 1

A répondu
Loop Question for particle
Hi, You can use union and setdiff functions to find out the particles that are not in contact. Total_Particles - all particl...

presque 4 ans il y a | 0

A répondu
Plotting graphs of a function with an inclusion of i
Hi, If you want to plot for different values of c, create an array with the values and traverse through all the elements using ...

presque 4 ans il y a | 0

A répondu
How to generate a new array from if statement embedded in for loop
Hi, I understand that you want to terminate the execution of both inner and outer loops once the condition is satisfied. It can...

presque 4 ans il y a | 0

A répondu
How to get the value of "Modulation frequency" from WAV file?
Hi, Refer this answer https://www.mathworks.com/matlabcentral/answers/639-frequency-modulating-a-wav-file

presque 4 ans il y a | 1

A répondu
Linear Regression not working
In the plot command, plot(x,y6,'o',x,f,'r-') you didn’t specify any line style, so you are getting only the data points You ...

environ 4 ans il y a | 0

A répondu
Find Command after certain Value
Hi, The following code will return the required index . flag = 0; val = find(A == 3,1); % finding the index of first...

environ 4 ans il y a | 0

| A accepté

A répondu
How to get multiple numbers in a row for an Array
Hi, Since you are not finding any value varying with j in the inner for loop, you can remove it. EOT = zeros(1, 365*24); for ...

environ 4 ans il y a | 0

A répondu
concatenating an output matrix within inner and outer loops
Hi, In case you only want to break the inner for loop, you can try it this way output=[]; k = 1; for z = 1:10; in1 = inpu...

environ 4 ans il y a | 0

| A accepté

A répondu
How to plot single row values of 2 .mat files with linear regression line through it
To add the regression line, you can use polyfit and polyval functions. load SI_Aorta load SI_Femoral % Plot regression line ...

environ 4 ans il y a | 0

| A accepté

A résolu


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

plus de 4 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 4 ans il y a

A résolu


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

plus de 4 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

plus de 4 ans il y a