Community Profile

photo

Matt Learner


Active since 2012

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


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

circa 10 anni ago | 2 answers | 0

2

answers

Question


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

circa 10 anni ago | 1 answer | 0

1

answer

Question


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

oltre 10 anni ago | 1 answer | 0

1

answer

Question


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

oltre 10 anni ago | 2 answers | 0

2

answers

Question


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

oltre 10 anni ago | 1 answer | 0

1

answer

Question


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

oltre 10 anni ago | 1 answer | 0

1

answer

Question


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

oltre 10 anni ago | 1 answer | 0

1

answer

Question


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

oltre 10 anni ago | 1 answer | 0

1

answer

Question


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

oltre 10 anni ago | 2 answers | 0

2

answers

Question


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

oltre 10 anni ago | 1 answer | 0

1

answer