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

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

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

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

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

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

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

25 dagen 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 ?

26 dagen 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,...

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

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand 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?

ongeveer een maand 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...

ongeveer een maand 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...

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

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

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

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

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

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

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

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

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

ongeveer een jaar 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...

ongeveer een jaar 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 ?

ongeveer een jaar 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 ...

ongeveer een jaar ago | 0 answers | 0

Question

How to modify any text file via MATLAB programmatically?

Hi All I need to modify text files with MATLAB, but the questions that I find offer ambiguous solutions, practically I don't ...

meer dan een jaar ago | 1 answer | 0

Question

How should I get a plot of my data if the data matrix is too large ?

Hi All my data have 160000 rows ( with 2 columns time vs displacement), that I obtain from some calculation on my data acquis...

meer dan een jaar ago | 1 answer | 0