photo

Sheng Chen

MathWorks

Last seen: 2 mois il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Removing zeros from start of an array and inserting them at the end of same array
Try this A = [ 0,1,0,3,12]; idx = 1; for j = 1 : numel(A) if A(j) ~= 0 % swap A(j) and A(idx) A([j idx...

plus de 5 ans il y a | 0

Réponse apportée
No appropriate method, property, or field 'MergedKeys' for class 'PollClass'.
That error message means in class 'PollClass', there is no property called 'MergedKeys' You can use isprop to check if there is...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Matlab dictionary to map tuples of values to specific output
Hi, the second row of phoneNumber matrix you gave has only 9 columns and I cannot find any pattern in your phoneNumber matrix. ...

plus de 5 ans il y a | 0

Réponse apportée
Is it possible to run a set of scripts through a for loop or is there a different method I could use?
script1.m function y = script1(x) y = x + 1; end script2.m function y = script2(x) y = x + 2; end script3.m fun...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
how to reognise faces with labels
Hi, in terms of increasing the size of your data, one common way is "Data augmentation." You can try to do the following to you...

plus de 5 ans il y a | 0

Réponse apportée
Normalization of an array of double
Try this v = [1.3, 5.6, 2.2, 1.0, 3.32]; N = normalize(v,'range'); 'range' means scale range of data to [0,1]. Also, please ...

plus de 5 ans il y a | 0

Réponse apportée
presenting result in a table
You can try table(): LastName = {'Sanchez';'Johnson';'Li';'Diaz';'Brown'}; Age = [38;43;38;40;49]; Smoker = logical([1;0;1;0;...

plus de 5 ans il y a | 0

Réponse apportée
how to give end condition to for loop
You already terminate your code by "return" if h equals 138010. I assume you are asking how to terminate the inner for loop: f...

plus de 5 ans il y a | 0

Réponse apportée
output file .txt
Try this: [sourcepic,phatsource]=uigetfile('*.png','C:\Users\hp\Desktop\images brutes LST\images brutes png\T4'); A=imread('C:...

plus de 5 ans il y a | 0