Statistiques
RANG
4 475
of 297 613
RÉPUTATION
12
CONTRIBUTIONS
0 Questions
7 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
2
RANG
11 753 of 20 457
RÉPUTATION
37
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
2 Fichiers
TÉLÉCHARGEMENTS
5
ALL TIME TÉLÉCHARGEMENTS
372
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
my question is can anyone improve my code to get the right answer?
It seems like to decide given year is whether or not a leap year. If you use the matlab 2016b, you can use the function 'leapyea...
plus de 8 ans il y a | 0
hi, I have array a = [5 4 0;3 1 0;5 7 0], how can I replace the value in third column (a(:,3)) with the values in column 1 (a(:,1)) when a(:,1) > a(:,2) . I need obtain [5 3,5] in the third column
I think the description of your question is not clear, a(:,1)>a(:,2) is a column vector not all true. Is this your judge conditi...
plus de 8 ans il y a | 1
Fitting experimental data to find a function
You can try polyfit function or other curve fit function, i.e. nlinfit or lsqcurvefit,to find proper equation. you also use cft...
plus de 8 ans il y a | 0
| A accepté
Loop backwards and select subset of rows that meet criteria
if you want to use loop, it is showed below: tindex = find(A(:,1)==t); for j = tindex:-1:2 if(A(j,1)-A(j-1,1)==1)...
plus de 8 ans il y a | 1
| A accepté
Replace rows with NaN only if there are more than two continous zero values in the same column
First, you can find the column with continous zeros(more than two), then find the index for replacement with nan. for example:...
plus de 8 ans il y a | 0
Loop backwards and select subset of rows that meet criteria
you can solve it without loop, e.g B = find(diff(A(1:find(A(:,1)==t),1))~=1); result = A(B(end)+1:find(A(:,1)==t)-1,:);
plus de 8 ans il y a | 0
Can't find AC or DC source on Simulink
You can't find it if you search it in simulink start page. You can open a blank simulink file, then you can open the simulink li...
plus de 8 ans il y a | 0