Miroslav Mitev
Followers: 0 Following: 0
Feeds
질문
How to evaluate a unknown variable?
I am trying to evaluate a specific variable, i.e., lambda from the following expression: alpha=0.9; g=[3, 2, 1]; N=10; P=5; ...
5년 초과 전 | 답변 수: 1 | 1
1
답변질문
For loop with Else statement
Hi all! I am running a loop of the form: RR=flip(1:100); CC=0; threshold=3000; for i=1:100 if CC<threshold ...
대략 6년 전 | 답변 수: 3 | 0
3
답변질문
EVAL do not display OUTPUT
Hi all, I am using eval function but even if I put semicolon ";" at the end of the line Matlab shows the output in the comman...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Fsolve with constraint for positivity
I have the following function: function y = fun(x) b=1:5; for i=1:5 s(i)=sum(1./b(i:end).^2); end y(1)=...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Automatic double to complex double ?
I have the following vector: vector =[ 3 2 1 -1 -2 -3 ]; And I would like to take the log of it. When I am try to do tha...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
How can I save vector values that changes its size each iteration?
I have the following type of code: while i<10 i=i+1; while ... C=... end B(i,:)=C; ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
Extract row each iteration
I would like to extract a 1-row vector "K" that changes each iteration and create a matrix "C" with rows equal to the vector. I ...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
fsolve for 2 equation with 2 variables
Here is my function, in order to shorten the expression here I add *A* and *B*, but in my original function they are inside *F(1...
거의 7년 전 | 답변 수: 1 | 0
1
답변질문
While loop in While loop: Problem
The code does not work properly. It stops after 2 iterations, instead it should make much more. The idea is: For each main lo...
대략 7년 전 | 답변 수: 0 | 0
0
답변질문
While loop: value increases, break if not.
Is it possible to use while loop that checks if the variable is increasing each step and break if not? Or I have to use for l...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
Removing specific elements from vector
I have an exponentially distributed vector "F" with "M" values. I need to remove "K" amount of values from "F" starting from the...
대략 7년 전 | 답변 수: 1 | 0