photo

laurie


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Accessing data from structures
If I have a structure Pop.A=[aa bb cc] Pop.B=[ 2 4 6] I need to find the highest value in Pop.B max(cat(1,P...

9 years ago | 2 answers | 0

2

answers

Question


Upload data to uitable
%Upload Data in uitable3 handles.output=hObject; [file,path]=uigetfile({'*.xls;*.xlsx','Excel Files'},'Select data f...

9 years ago | 1 answer | 0

1

answer

Question


Store values from text file into uitable
I created a uitable in GUI and I am trying to get data from a text file to upload into the first column. This is as far as I got...

9 years ago | 1 answer | 0

1

answer

Question


Error Message in uitable GUI
I have a editable uitable in a GUI. How can I check the user input data, and if the values are negative, display an error messa...

9 years ago | 1 answer | 0

1

answer

Question


Lose of Precision when storing values
I would like to store values into a 1x50 double array, but I loose precision where everything is stored in e+07. Is there a way...

9 years ago | 1 answer | 0

1

answer

Question


When I read a matrix stored in a text file, the values are shuffled about
fid = fopen('mat.txt','r'); matrix = fscanf(fid,'%g',[6 4]); Could someone explain why this happens? or suggest a better...

9 years ago | 1 answer | 0

1

answer

Question


Generate matrices of the form [a b c d]
If I have matrices of the form [a b c d] where 2<=a<=4 1<=b<=2 3<=c<=4 2<=d<=4 Could someone help me with th...

9 years ago | 1 answer | 0

1

answer

Question


How can I check if row matrix B is equal to a row of matrix A?
I have a matrix A = [1 2 3; 4 5 6; 7 8 9] I randomly generate matrix B = [4 5 6] How can I check if B is a row of A in *ON...

9 years ago | 1 answer | 0

1

answer

Question


"For colon operator with char operands, first and last operands must be char." error?
for n=1:1:4 MAT((a:(a+b)),n)=1; end a and b are integer numbers that change on each iteration of n The code is...

9 years ago | 1 answer | 0

1

answer

Question


Randomly generated row matrix B with constraints?
Matrix A which is generated based on a calculation A=[2 1 1 2] I need: Matrix B (B is equal to the size of A) needs to be...

9 years ago | 3 answers | 0

3

answers

Question


Constraints applied to circshift function
If i have a matrix A: 0 0 0 1 1 1 1 1 0 0 and I applied the following shift function (to shift rows downward...

10 years ago | 1 answer | 0

1

answer

Question


Optimization Tool and Variables
Dear support, 1. Can the Optimization tool be called from a GUI I created? And how? 2. Can the optimization tool be used w...

10 years ago | 2 answers | 0

2

answers

Question


How to create Nearest Neighbors for a matrix of 1's and 0's?
I have a matrix of 1's and 0's. mat = 10100 11101 11011 I would like to create neighbors to this matrix ...

10 years ago | 1 answer | 0

1

answer

Question


Convert binary column vector to decimal
I'm trying to convert each *column* of a matrix A of ones and zeros to their corresponding decimal value and sort the decimal va...

10 years ago | 3 answers | 0

3

answers

Question


How do I randomly select a zero in a matrix and replace it with a value from another matrix?
I have a 52x3 zero matrix and a 1x15 matrix. A=[40 46 9 11 9 45 10 14 12 2 1 8 41 25 31]; I am trying to select the (1+n) va...

10 years ago | 2 answers | 0

2

answers