photo

Miroslav Mitev


Last seen: oltre 2 anni fa Attivo dal 2017

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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; ...

oltre 5 anni fa | 1 risposta | 1

1

risposta

Domanda


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 ...

circa 6 anni fa | 3 risposte | 0

3

risposte

Domanda


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...

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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)=...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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; ...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

quasi 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 7 anni fa | 1 risposta | 0

1

risposta