Community Profile

photo

Matt Learner


Attivo dal 2012

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


How to find the location of a minimum value in cell array?
consider the following example, Suppose if I have a cell notation q=cell(5,1); And if I have different dimensions for ea...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


How to store different # of values, obtained in iterations, in Matrix / array ?
If I have some *matrix/ array say A(x,y)* where *'x'* is *iteration #* (lets consider here 2 iterations) and *'y'* is *# of valu...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


How to select last location of min value which is avalable in more than one location of a matrix?
If I have a matrix, say A = [2 7 4; 8 4 2; 9 7 7], and if I want to find the min value ( which is 2 in this case) location, I ca...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Minimum value in 2d matrix but with restriction
I have a n*m matrix. for example A = [16 2 0 13; 5 11 10 8; 0 7 6 1; 16 14 15 0]. I want to find the min value>0 (i.e.,min value...

quasi 12 anni fa | 2 risposte | 0

2

risposte

Domanda


How to check whether variables lie with in the region?
I have two variables x1 and x2. Both variables have certain range i.e., x1_min<=x1<=x1_max and x2_min<=x2<=x2_max. I have to che...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


How to Normalize variables?
Hi, I have an issue regarding normalization. I have two state variables x1(range is 0.015<=x1<=0.03) and x2(range is 0<=x2<=...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


How to chose the nearest value
Suppose I have a point at location (3,800) and for this point, I have to select the nearest point. I have 3 points say (2,790), ...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


finding the closest grid
I have 2 variables and each of 3 discretization say for example, first variable have values (2,4,6) and second variable have (1,...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


How to create a structure array with intial values as zeros?
I want to create a structure array with initial values as zeros. Say for example I have an array of structure called "struc". an...

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Error: Assignment has more non-singleton rhs dimensions than non-singleton subscripts
I have the following matlab code in which I have 6 variables(=n_gc) with the min and max limit as "it.min_gc" and "it.max_gc" re...

circa 12 anni fa | 1 risposta | 0

1

risposta