Community Profile

photo

Emma


Last seen: 3年以上 前 2019 年からアクティブ

統計

  • Thankful Level 3

バッジを表示

Content Feed

表示方法

質問


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

3年以上 前 | 0 件の回答 | 0

0

回答

質問


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

約4年 前 | 1 件の回答 | 0

1

回答

質問


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

約4年 前 | 1 件の回答 | 0

1

回答

質問


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

約4年 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 3 件の回答 | 1

3

回答

質問


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

4年以上 前 | 0 件の回答 | 0

0

回答