photo

Fun Dan


Attivo dal 2015

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


How do I preallocate memory in a For loop code?
How do I preallocate memory for the for loop below? And does preallocating memory makes a simulation run faster? #1 for M...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


Need Help fixing a for loop for iteration
Hi, I have the following code but it is not giving me the values I want. The loop is not working. Basically, I want the varia...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risposto
How do I generate distances between a varying object within a grid and 5 fixed locations.
Thank you Joseph. You are right. I was told I could use the pdist() but I do not know how to use it either. I tried but it's not...

oltre 9 anni fa | 0

Domanda


How do I generate distances between a varying object within a grid and 5 fixed locations.
How do I generate a code that would *calculate the distances of the 4 stations and EU to the DC for every given location of the ...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


I need help with fixing the error in my for loop equation
Please how do I fix the error message: Attempted to access ID(3); index out of bounds because numel(ID)=2. I am trying to get...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


If...elseif Statement Not Pulling Variables
Please I need help. I am trying to run the following arguments for three different cases using the if..elseif statement but it i...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I pull or link a matrix output from m-file into simulink?
I have an output in matrix format in m-file. For example, I have the values a11, a12, a21, a22 calculated already, and I want to...

oltre 9 anni fa | 2 risposte | 0

2

risposte