Statistica
14 Domande
0 Risposte
RANK
37.227
of 300.321
REPUTAZIONE
1
CONTRIBUTI
14 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
64.29%
VOTI RICEVUTI
1
RANK
of 168.093
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Adding coordinate values (x,y) to a matrix depending on another matrix
There is one matrix that is a 10 x 10 that is initially all zeros. matrix = zeros(10,10) This matrix will eventually re...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
Using "rand" to randomize percent probability between two numbers
How would you write a code to do these probabilities? These probabilities are all related, so for example it would mean *one* he...
oltre 9 anni fa | 1 risposta | 1
1
rispostaDomanda
Index exceeds matrix dimension in a for loop?
function[pos_N] = func(v_0, windspeed) pos_N(1,1) = 0; %initial distance pos_N(1,2) = 500; %initial elevation %loop...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
Sum of vector involving relational operations
When given something such as x=[0:.5:10]' why does sum(x>8 & x<=4) = 0
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
Assigning a value to a certain index according to whether it matches the conditions of an if statement
This may be a mouthful but I'll do my best to go into depth of what I'm trying to solve. I have function [m] = game(n) ...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
How to use randperm to create a vector with multiples of the same number?
Let's say I want to create a shuffled 1x26 vector with the values 2-11 but the value 10 comes up 4 times. So the vector might lo...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
When faced with the same value in a vector, what can you do to choose one over the other?
This may be a little hard to explain but I'll try my best. So I have indexed a 3x1 vector(A) and 3x6 matrix(B) so that the l...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
How to select the row of an element in a vector and put it in the same row for a different matrix?
For example, vector A is a 3x1 and has the value 1 in its *_third_* row. I want to then take the sum of the entire vector A and ...
oltre 9 anni fa | 2 risposte | 0
2
risposteDomanda
Using loops to populate a vector
Say I have a 3x2 matrix (A) that ranges from the numbers 1 through 5. The 3 rows equals 3 different sets of numbers. I have to u...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
How to use loop to distribute values from one matrix to another matrix in a certain order?
For example, let's say I have a 3x2 matrix called A and a 3x2 matrix called B. I want the first number in A (1st row, 1st column...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
How do you use randperm on a vector?
I have a vector A = repmat(1:6, [1 4]) and I need to use randperm to randomize it. How would I do that?
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
Subfunction equations applied to a main function matrix
So I've made a 5x1 vector in my main function. Let's call this vector V and let's just say the numbers in the vector are 2, 3, 4...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
How to find the value of a variable based on when another variable equals a certain number
So what I'm trying to accomplish is to find the value of X right before Y is greater than D in my function function [Result...
oltre 9 anni fa | 1 risposta | 0
1
rispostaDomanda
How do you make the rows of one matrix/vector be the same amount as the rows of another matrix
So I have one column vector A = [0:0.1:round(d/(min(B)))]' and need to make a matrix that has the same amount of rows...
oltre 9 anni fa | 1 risposta | 0