Community Profile

photo

Emma


Last seen: más de 3 años hace Con actividad desde 2019

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


Array of fixed length
A user inputs a value n. I want to make an array that has n values, 1/n. If n=4, output would be [1/4 1/4 1/4 1/4] Not qui...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


For loop question help
I have two vectors. A = [ 1 2 3 4 6] and x = [5 3 2 1]. For every value in x, I want to return the corresponding index value in ...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


For loop and indexing help
I am generating a uniform random number using X=rand; I have a vector of values, say Z=[.1 .2 .3 .4 .5]. I have another vector,Y...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Appending to an array/vector
I have a while loop that is running. Inside the while loop, I want to create a vector of values. The loop is iterating several t...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Problem with the interp function
"Error using interp (line 68) Length of data sequence must be at least 9. You either need more data or a shorter filter (L)."...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


For loop for summation
I need to create a for loop for a series summation. The sum is from n=-500 to 500. The summation is some function of n multiplie...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Indexing a Matrix with a for loop
I have a matrix of complex numbers, z: z = [1+j 2+j 5+j;4+3j 6+2j 1+3j], and am trying to replicate z into y using a for loop. I...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


The @ symbol in Matlab
What does f = @(n) ((1/2).^n).*(n>=0); mean? Is this the (1/2)^n function, for values of n greater than zero? I am not sure how ...

más de 4 años hace | 3 respuestas | 1

3

respuestas

Pregunta


adding a number to an array
I am trying to create two arrays - one for time, which represents all of the x values for the graph, and one for y, which repres...

más de 4 años hace | 0 respuestas | 0

0

respuestas