laurie
2015년부터 활동
Followers: 0 Following: 0
Feeds
질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
Upload data to uitable
%Upload Data in uitable3 handles.output=hObject; [file,path]=uigetfile({'*.xls;*.xlsx','Excel Files'},'Select data f...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
"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...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 10년 전 | 답변 수: 3 | 0
3
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 3 | 0
3
답변질문
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년 전 | 답변 수: 2 | 0