Community Profile

photo

Sajjad Asefi


Last seen: quasi 2 anni fa Attivo dal 2020

Statistiche

All
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

Visualizza badge

Content Feed

Visto da

Domanda


Calling python while program execution in matlab
Hi there, I would like to run my matlab code (assume in a for loop), and during each iteration of that loop call a python code ...

circa 3 anni fa | 1 risposta | 0

1

risposta

Risposto
Counting number of matrix elements with 1 and 2.
Hi there, I think you can use the following method to get your answer without writting a "for" loop; intersect(A(A(:,2)==1,1...

circa 3 anni fa | 1

| accettato

Domanda


Decreasing the number of variables in optimization process (SQP - fmincon)
Dear community, I was wondering if there is anyway to decrease the number of variables during an optimization process going on ...

circa 3 anni fa | 1 risposta | 0

1

risposta

Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

oltre 3 anni fa

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 3 anni fa