Question

How to calculate the derivate of an equation ?

Hi All I have the crack energy equation : In which R and G are numbers , also c and m. N is loading cycle : so it's a signa...

1 month ago | 1 answer | 0

Question

How should I use the function Circfit ?

Hi All How do I use the function Circfit ? the size and class of inputs is not clear

2 months ago | 1 answer | 0

Question

How to concatenate 2 time series that both start from zero?

Hi all How to concatenate 2 time series that both start from zero? Given that both of them have the same time step? Example : ...

2 months ago | 0 answers | 0

Question

How could I get the coordinates of the circumscribed circle giving the 3 points coords ?

Hi All I have the coordinates of 3 points thrgouh which, a circle should pass . Having the coordinates of the points in 3D, how...

2 months ago | 2 answers | 0

Question

Where is the logic failure in my code ?

Hi All I have a matrix n x 1 called X , in which I want to move it up or down along vertical axis when I plot it vs time , in...

2 months ago | 1 answer | 0

Question

Why do I get Excel error when using writetable command ?

Hi All I have the TT parameter as : [c1,hist,edges,rmm,idx] = rainflow(Z,t); TT = array2table(c,'VariableNames',{'Count','Ran...

2 months ago | 1 answer | 0

Question

How to include header text in a Table when writing to Excel?

Hi All I have to write a table after converting it to array , to Excel . as you can see in the following example taken from ...

2 months ago | 1 answer | 0

Question

Why doesn't Timetable command accept my time,data input?

Hi All I use the command TT = timetable(t,X); but I get the following error, despite having defined t as a nx1 matrix an...

2 months ago | 1 answer | 0

Question

How can I make the cycle range symmetric around zero in rainflow ?

Hi All I am using rainflow( x, 'ext') but the cycle ranges are not symmetric around zero. How can I make matlab do that ?...

2 months ago | 1 answer | 0

Question

How to calculate passband and stopband coefficients for signal filtering?

Hi All using the following code, I need that my passband frequency be 250 Hz , and the Stop Band at 512 Hz. how do I calcul...

2 months ago | 1 answer | 0

Question

Which ode should I choose for 2 sets of differential equations?

Hi all I have a set of 2 differential equations ( regardless of what they are or what they do) I just want to discuss the possi...

2 months ago | 0 answers | 0

Question

How to run an existing matlab file from Python ?

Hi All there is an example question on mathworks on how to run a matlab code from Python, but it doesn't explain how to run an ...

3 months ago | 0 answers | 0

Question

How to find the translations and rotations in a new Coordinate system?

Hi All How can I find the relateive translations and rotations of a point in a new Coordinate system when I know its translat...

3 months ago | 0 answers | 0

Question

How to get all of the roots of a syatem of second order equation ?

Hi all I'm solving a set of second order equations that can have more than one root(answer) that can satisfy a certain condit...

4 months ago | 1 answer | 0

Question

The result of rotation matrix rotx(angle) with a coordinate does not give the desired result

Hello All I have a point with coordinates : x y z : 0.00 60.00 225 and want to rotating it around the global ...

4 months ago | 1 answer | 0

Question

How to check the internal solution results of Fsolve to know where the matrix dimension assignment has problem?

Hi All I am solving a set of 2nd order equations via fsolve. But it seems like that already in the first equation I have got ...

4 months ago | 1 answer | 0

Question

How to remove the integration constants from the integrated random signal ?

Hi All After integrating a random signal , How do I know the integration constants like after the second integration to know ...

5 months ago | 1 answer | 0

Question

How to use find-peaks function and keep the FRF of the signal the same

Hi I want to reduce the number of samples from a signal by filterting the small amplitude peaks, but I don't want the FRF of t...

7 months ago | 0 answers | 0

Question

Can MATLAB convert text file to RPC III format ?

Hi all is there a toolbox in MATLAB to convert txt or csv or xlsx format to RPC III file format ?

7 months ago | 1 answer | 0

Question

Can't open and write an Excel file that should be created by MATLAB

I have to write some large amount of data using xlswrite and since they are multiple files, they are written one by one . meanin...

8 months ago | 0 answers | 0

Question

Why do I get no solution found in Fsolve despite the results match my nonlinear equations ?

Hi All I am solving a set of Non Linear equations. when I put the solution results in each of my equations, the result is zero ...

8 months ago | 1 answer | 0

Question

How do I calculate the numerical Jacobian for a set of six non linear equations ?

Hi All how do I calculate the Jacobian matrix for the following equations based on the example I put afterwards ? please don't...

8 months ago | 1 answer | 0

Question

Do I need to reset Fsolve Parameters if I use Fsolve twice in my code ?

Hi All If I have to use Fsolve twice in my code, do I need to reset any paramter ? [x,fval,exitflag,output] = fsolve(fun,x...

8 months ago | 1 answer | 0

Question

3D plot gives empty figure

Hi all I have 4 matrices of 4x4 size. I do for n=1:size(P1,1) plot3(P1(n,2),P1(n,3),P1(n,4)) hold on ...

8 months ago | 0 answers | 0

Question

How to replace my optimset with equivalent optimoptions ?

Hi all using Fsolve, I am getting into difficulties and want to use Jacobian and Hessian as well , but first I need to pass f...

8 months ago | 1 answer | 0

Question

Why doesn't atan2 (u,v) give me the right angle of two simple vectors?

Hi All I was using the atan2(u,v) to calculate the angles between vectors, untill I checked it for u=[0,0,0] v= [1,1,1] doi...

8 months ago | 1 answer | 0

Question

How not to repeat the whole code after the try catch loop ?

Hi all is there a line to indicate the main code between the try catch loop to avoide rewriting it ?

8 months ago | 1 answer | 0

Question

How to run Matlab from python to run an m.file in a specific folder?

Hi All there is a tutorial on how to run matlab from python , but it does not say how to run an .m file from a specific folder,...

8 months ago | 0 answers | 0

Question

Matlab doesn't write on excel after the first loop in try catch

Hi all I use try catch to force matlab to continue the loop and in each loop I have the parameters to write to excel files. B...

8 months ago | 2 answers | 0

Question

Error in using try catch

Hi All I have a loop to be forced to continue , and I get an error after the first cycle , since in the beginning of each tr...

8 months ago | 1 answer | 0