photo

laurie


Attivo dal 2015

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 10 anni fa | 2 risposte | 0

2

risposte