Réponse apportée
Problem with for loop on MATLAB
Hi, try this code: num = input('Enter a number: '); p = 0; %even im = 0; %odd pos = 0; %positives n = 0; %nega...

plus de 13 ans il y a | 1

Réponse apportée
Algebric loop in simulink
You can use 'from' and 'goto' blocks from simulink-->signal routing library.

plus de 13 ans il y a | 0

Réponse apportée
combining strings by using loops
N=1000; F=0; for i=1:N if i==1 F(i)=F(i) +a.*x1(i,1)^2+b.*x2(i,2)^2+c./x3(i,3))-Outputs(i,1); else F(i)=F(i-1)...

plus de 13 ans il y a | 0

Réponse apportée
how to change the bw to wb
In b/w image.. white=1, black=0; so you can replace by if pixel==1 pixel=0 elseif pixel==0 pixel==1 end

plus de 13 ans il y a | 0

Réponse apportée
Using simulink as fitness function for GA
Hi, FYI,Genetic algorithm is a population based method, probably the gains for PID controller(i.e, Proportional gain, Integ...

plus de 13 ans il y a | 0

Réponse apportée
How to use DC Machine as a generator?
Hi, Generator==> I/P(Mechanical)(i.e. Negative for DC machine e.g. (-1 N.m (Torque))--> O/P (Electrical). If you need ...

plus de 13 ans il y a | 0

Réponse apportée
how to connect various circuit elements like resistor, battery and ammeter, voltmeter?
Hi, Are you using the blocks from simpowersystems? If you are using those blocks from simpowersystems, then you can conne...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
??? Subscript indices must either be real positive integers or logicals.
Hi, I matalab, you cannot find f(0). so you should start with n=1:N and check the below coding, it may help you.. N = 10; ...

plus de 13 ans il y a | 0

Question


What is mpt.parameter and mpt.signal?
Hi, What is mpt.parameter and mpt.signal? Wher it is used? purpose?

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

1

réponse

Réponse apportée
how i can see all the answer?
Hi, Try it by 'diary' command

plus de 13 ans il y a | 0

Réponse apportée
how to write certain rows in excel using xlswrite
Hi kesavan, Insteadof writing it as 'filename.xlsx' .try it as 'filename.xls'

plus de 13 ans il y a | 0

Réponse apportée
How to resolve the error-Input arguments of type 'double'?.
Hi, Before doing that integration using 'syms' command. better you convert all the variables by using double('var') or other ...

plus de 13 ans il y a | 0

Réponse apportée
How can I copy variables of a GUI to the workspace?
Hi, Check this below link: http://www.mathworks.in/support/solutions/en/data/1-9FZUOY/index.html?product=ML&solution=1...

plus de 13 ans il y a | 0

Réponse apportée
Importing .m code into simulink
Hi, You can use *Matlabfcn* block in simulink.

plus de 13 ans il y a | 0

Réponse apportée
Updating new value in a loop
Hi, You can do it by padding the data of x_cell and y_cell values by zeros or ones(If you know precise data length of x...

plus de 13 ans il y a | 0

Réponse apportée
why eq says they are not equal
Hi Nuchto, Check this below link: http://www.mathworks.in/help/techdoc/ref/eq.html

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to go to the next line in case of using 'system' command ?
Hi askin, Did you use the 'home ' command. I think it'll work, just try it.

plus de 13 ans il y a | 0

Réponse apportée
Regsrding for loop with array
Hi wayne, This also works!!! for lm=1:100 if (~isempty(find(A == lm))) %calcultion end end

presque 14 ans il y a | 0

Question


Regsrding for loop with array
Hi all, A=[1;3;5; 6]; for 1 to 100 iterations, if any element in array matches with the iteration,e.g .for 1st iteration A's ...

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

2

réponses

Question


Regarding Iteration
Hi all, for j=1:30 x(:,j) = unifrnd(minsvc(j), maxsvc(j), no_pop,1); if busdata(j,2)==0 rchoices = size...

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

1

réponse

Question


To measure time for sudden change in waveform
Hi friends, I am doing the fault location using wavelets. For that, am having two waveforms (aerial mode voltage(Va...

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

1

réponse

Question


Using ACO to determine the parameters(K,Tau)
Hi all, am having an transfer function of dynamic process is K/(tau.s+1) and the actual process is 1/(s+1).I need to minim...

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

1

réponse

Question


Fault location using transient wave analysis
Hi, Am doing fault location in transmission system (Single end method) using transient wave analysis method. Here, First i ...

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

1

réponse

Question


To pick random data
Hai all, I have an sample matrix e.g. a=[1 2 -8 9 0 5] & b=[6 7 1 5 8]. (a & b matrix will vary, when iteration changes)....

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

1

réponse

Réponse apportée
How can I send a result to the workspace and take the same result from workspace ??
Hi kamal, In your first model, by using To workspace & clock block, save the time in format of array, and the variable w...

environ 14 ans il y a | 0

Réponse apportée
ANFIS
Hi Zati, First you should design ur 'fis' file sugeno type. Then the rules should be equal to no.of ouput membership fun...

environ 14 ans il y a | 0

Réponse apportée
using other toolboxes in simpowersystem
Hi siraj, check this link http://www.mathworks.in/help/toolbox/fuzzy/fuzzy.html

environ 14 ans il y a | 0

| A accepté

Question


To get a random number
Hi, Am having a incremental column matrix like, e.g. for 1st iteration, it is 100*1(double), then for 2nd iteration iterat...

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

1

réponse

Réponse apportée
IEEE 14 bus Power flow code
function [baseMVA, bus, gen, branch, areas, gencost] = case14 %% system MVA base baseMVA = 100; %% bus data ...

environ 14 ans il y a | 3

Question


PV array design
Hi, I would like to design Photovoltaic array for 33 kilo watt. Should I have to write Matlab Sript file or to design ...

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

1

réponse

Charger plus