photo

Archit


Actif depuis 2012

Followers: 0   Following: 0

Message

Student
Professional Interests: Computers

Statistiques

All
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Question


help: efficiently pass a lot of variables to a function
Hi, I have a function which is called 10^5 times. The problem is this function needs like 40 values (mostly scalars or s...

presque 11 ans il y a | 3 réponses | 1

3

réponses

Réponse apportée
how to call a specific variable in matrix inside loop process..??
a way (maybe a better way exists, but i am not very proficient in matlab yet) to do that is a=find(xdata(:,1)==2); % a=...

environ 11 ans il y a | 0

Question


combined operations on struct arrays
I have a struct S S=struct() It has 2 fields a,b S(1).a=2; S(2).a=3; S(3).a=4; now how do i do something...

environ 11 ans il y a | 1 réponse | 0

1

réponse

Question


Different variable names in different runs of a script
Is it possible to get different variable names in different runs of a script. Eg. lets say we have following script ...

plus de 11 ans il y a | 1 réponse | 0

1

réponse

Question


apply a function to vector
I have a function like fn=@(a) [a(1,:).^2 ; a(2,:).^2 ; 1] i want to apply it to matrix w=[2 3 4 5; 1 2 3 4] b...

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

2

réponses