Community Profile

photo

dipak nigam


Last seen: mer än 3 år ago Active since 2020

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
How to save the hold on image
Hey, I think you need to use the 'imwrite' command instead of 'imwrit'. If it is a typo, you can refer to this answer to save ...

mer än 3 år ago | 0

Answered
how to have indication of matlab function stopped
As per my understanding, you want to run another function if your present function raises an 'error' or 'fails'. You can put the...

mer än 3 år ago | 0

Answered
extracting values above 0 in an array and putting them in a new array
Hey, you can use the below piece of code for your desired functionality. a(a<=0)=inf; minArray = min(a); If you want to keep ...

mer än 3 år ago | 1

| accepted

Answered
Error while assigning a variable
You can refer to this answer to understand the above behaviour. https://www.mathworks.com/matlabcentral/answers/357800-how-to-...

mer än 3 år ago | 0

Answered
submitWithConfiguration not working in matlab online R2020a.
https://www.mathworks.com/matlabcentral/answers/481537-submitwithconfiguration-not-working-in-matlab-r2019b Try referring to th...

mer än 3 år ago | 0

Answered
Two different ways of using iterations
load tal v_stor=[]; v_liten=[]; v_mellan=[]; for i=1:length(V) if V(i)>=10 v_stor = [v_stor V(i)]; elseif...

mer än 3 år ago | 1

| accepted

Answered
What are the possible invalid expressions in this equation?
Some suggestions - 1) MATLAB doesn't have e for exponentiation. You can use exp(arr) to get a vector with exponents of all ele...

nästan 4 år ago | 0

Answered
Values keep repeating in a loop...really need your help..there is no error in my code
You are not updating the value of the fitness function, 'f', inside the loop. From my understanding, you want to fill 1000000 r...

nästan 4 år ago | 0