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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 ...
6 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0