photo

laurie


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten