Community Profile

photo

laurie


Actif depuis 2015

Statistiques

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

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

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


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

presque 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 3 réponses | 0

3

réponses

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 2 réponses | 0

2

réponses

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

environ 9 ans il y a | 1 réponse | 0

1

réponse

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

environ 9 ans il y a | 3 réponses | 0

3

réponses

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

environ 9 ans il y a | 2 réponses | 0

2

réponses