Anil Kumar
Statistiche
All
RANK
8.333
of 288.900
REPUTAZIONE
5
CONTRIBUTI
5 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
20.0%
VOTI RICEVUTI
2
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Content Feed
Risposto
How to find second largest value in an array?
try this a=A(:,1); [p,q]=max(a); b=A(q,1); [p1,q1]=max(a(a~=b))
How to find second largest value in an array?
try this a=A(:,1); [p,q]=max(a); b=A(q,1); [p1,q1]=max(a(a~=b))
oltre un anno fa | 0
Risposto
save values in array in a loop
may be helpful for begginers x1=[]; x2=[]; a=[2 4 6 7 3]; b=[1 9 7 5 8]; for ii=1:5 s=a(ii)+b(ii); x1=[x1,s];%output in a...
save values in array in a loop
may be helpful for begginers x1=[]; x2=[]; a=[2 4 6 7 3]; b=[1 9 7 5 8]; for ii=1:5 s=a(ii)+b(ii); x1=[x1,s];%output in a...
quasi 2 anni fa | 1
Domanda
issue in saving variable values while writing a file with if condition?
If I use max and min function the actual values of variable in loops (each data set) are saved for that coresponding max or min ...
circa 2 anni fa | 0 risposte | 0
0
risposteDomanda
How can I use equations from a matrix, using symbolic variables, inside the function file for ode45 ?
I want to use time dependent equations directly from a matrix (i.e. product of matrices) in the function file. keeping it simple...
circa 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Optimization of multiple variables without any toolbox
I have 5 variables, say l1,l2,g1,g2,g3. I want to optimize the gi (i=1,2,3) inside the two loops of l1 and l2 i.e. for each comb...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
can I add multiple plots in a figure altogether in an inset as well?
An inset works like as follows, axes('Position', [0.32 0.2 0.3 .3]) box on plot(A1(:,3),A1(:,27),'b','LineWidth', 2); ...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Error" 'lyap' requires control system toolbox""
Recently, I got a Matlab licence (individual academic use license) for Mac 10.15.1. I tried to find the Lypunov solution but it ...
oltre 4 anni fa | 1 risposta | 1