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...

15 days 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 ?

23 days 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...

1 month 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 ...

2 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...

2 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...

2 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 ...

2 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...

2 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...

2 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 ?

2 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,...

2 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...

2 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...

2 months ago | 1 answer | 0

Question

xlsread doesn't read a column that contains string in the cells with unknown number of rows

Hi all I am trying to read from an xlsx Excel file some rows in clumn 1 that are strings. xlsread alone does not function...

2 months ago | 1 answer | 0

Question

What should I do if Fsolve can not find a solution in the middle of the solution ?

Hi All despite having defined a very tight tolerance and high MaxnoEvals and iteration , I get Fsolve Stalled. I don't know...

2 months ago | 1 answer | 0

Question

How to increase reading speed from a Gigabyte large file ?

Hi all how do I increase reading speed from an Excel file that contains rows and columns with a volume of some GigaBytes?

2 months ago | 0 answers | 0

Question

How to find the transformation matrix for a plat knowing the old and new coordinates of 3 points on it ?

Hi All How do I define the transformation matrix of a plate that moves in space , knowing the old and new coordinates of 3 po...

2 months ago | 2 answers | 0

Question

How can I reduce the fsolve error?

Hi All I'm solving a set of 9 second order equations with fsolve. It seems that it has a constant error on one of the varia...

3 months ago | 0 answers | 0

Question

Too many output parameters error in Fsolve when I turn Jacobian On

Hi all why do I get Too many output parameters error in Fsolve when I turn Jacobian On ? I have 9 variables to solve , where ...

3 months ago | 1 answer | 0

Question

What are all the options to improve Fsolve?

Hi All Using FSolve , to solve a set of non linear equations , I get warnings like : optimization terminated : first order...

3 months ago | 1 answer | 0

Question

How do I save the history of length change of the 6 joints in the stewart platform with gripper ?

Hi all On the stewart platform with gripper example in MATLAB, I need to modify its fixed point of its legs coordinates and t...

9 months ago | 0 answers | 0

Question

Does the importgeometry command work to import any geometry in simmechanics ?

Hi All I need to import some IGES or STEP geometries in simmechanics. could you please tell me if the import geomtery command...

9 months ago | 1 answer | 0

Question

Which element in Simmechanics could be use in place of a wire sensor

Hi all I need model wire sensors that connect two plates that move with respect to eachother. which simmechanics element is b...

9 months ago | 0 answers | 0

Question

How do I verify whether what I am removing from a noisy image is only the noise

Hi All I have to remove noise from an image, that I don't have a sample without noise to compare to. How could I know if I am...

11 months ago | 2 answers | 0

Question

How define the rotation of a rectangle in space ?

Hi All I have a rectangular plan with the coordinates of its corners in space. this plane moves in space and does all the 6 d...

11 months ago | 1 answer | 0

Question

Finding the twist angle of a Vector around axis Z

Hi all I have the positions of a vector F as a function of time, and I need to find the twist around axis Z, so I need to pro...

1 year ago | 0 answers | 0

Question

Matlab writes junk #N/D in Excel file

Hi All I should write an array of 50000x2 from MATLAB to an Excel file, the problem is MATLAB doesn't leave the next rows fre...

1 year ago | 1 answer | 0

Question

How to conduct a Linear or polynominal regression using NewFF in Matlab?

Hi All I can't use fitnet and am obliged to use Newff , I have a set of 4x200 input and 8x 200 output, could someone hel...

1 year ago | 0 answers | 0

Question

How to implement fitnet.m in MATLAB R2007?

Hi All Is there a way to introduce the fitnet function in MATLAB R2007, despite it's introduced in R2010 ?

1 year ago | 1 answer | 0

Question

How do I digitize an external image file using ginput command?

Hi all I have a force displacement graph in pdf image and need to have the true stress strain curve. Many digitizer apps ...

1 year ago | 0 answers | 0