Question


Dear All, I am new to MATLAb GUI and want to create one. My program should work in the following sequence. 1) Select option of polarity from a pop-up menu (total two options are available) 2) load file according to polarity selected 3) execute part
My Matlab script is as follows (which works perfectly but i have to change it to GUI for user readiness) R_pp=[]; ...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


solving system of equations using singular value decomposition and fsolve
Hello, i have a system of equations which i want to solve. My simplified system is shown below. k1=0.6828; k2=1.3656; ...

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


storing output (which are matrices) of for loops
Hello, I am trying to store my output from for loop to be used later in code. The output is a 2x4 matrix for each cycle of loop....

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


reading selected columns of multiple files and storing the data
Hi, I have a simple problem but as a beginner stuck on it. I want to read 10 files in matlab with 3 columns in each file. I want...

presque 6 ans il y a | 1 réponse | 0

1

réponse

A répondu
Solving trigonometric non-linear equations in MATLAB
hi john, can you comment on why my code (similar as the original question is not giving me any solution? I will really appreciat...

presque 6 ans il y a | 0

Question


Hello, I want to solve system of non linear equations using fsolve. There are thre equations and two unknowns K and L. looking at my code, please advice how to best do this. Also please advice if this is the best way or there is an alternate option.
Ld= 0.8194 %constant % cos^2(K*L)+ Ld*K*sin(K*L)cos(K*L)=2.2 two non linear equations % cos^2(K*L)=0.299 % Ld*cos^2(...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


Hi, i have a problem regarding curve fitting. I have a set of data which is linear, but i want to fit a cos(k*l)^2 to this data and wants to find for which value of (k*l), for which the initial linear part of cosine curve fits my data?
%% Here is my code. [data]=[0 0 0.050000000000000 1.108646244630E-01 0.100000000000000 2.217423074817E-01 0.1...

presque 6 ans il y a | 1 réponse | 0

1

réponse