Roy Kadesh
Followers: 0 Following: 0
Feeds
已回答
Removing matrix from a for loop
CAR=num2cell(1:429); Remove=[2, 10, 11]; CAR=CAR(setdiff(1:end,Remove));
Removing matrix from a for loop
CAR=num2cell(1:429); Remove=[2, 10, 11]; CAR=CAR(setdiff(1:end,Remove));
3 years 前 | 0
| 已接受
已回答
not inuff input argument
You are calling your function without any inputs (probably because you clicked the big friendly green button). You should call ...
not inuff input argument
You are calling your function without any inputs (probably because you clicked the big friendly green button). You should call ...
3 years 前 | 0
已回答
Legend doesn't match plot
You did not explicitly state the handles for the legend, so Matlab uses the first two, which happen to be both green, since your...
Legend doesn't match plot
You did not explicitly state the handles for the legend, so Matlab uses the first two, which happen to be both green, since your...
3 years 前 | 0
| 已接受
已回答
Centerline and bounding curve in image
If this complex code doesn't work, can't you try something easy? img=imread('1.png'); I = img(501:3500,501:5500); im_bin = im...
Centerline and bounding curve in image
If this complex code doesn't work, can't you try something easy? img=imread('1.png'); I = img(501:3500,501:5500); im_bin = im...
4 years 前 | 1
| 已接受
已回答
Mark one plot in a subplot
It is best to store the handle to the axes object when you create it. set(gfc, 'Windowstate', 'maximized') ax={}; for n=1:21 ...
Mark one plot in a subplot
It is best to store the handle to the axes object when you create it. set(gfc, 'Windowstate', 'maximized') ax={}; for n=1:21 ...
4 years 前 | 0
| 已接受
已回答
Comparing an array of cells in a matrix
If you want loop through all values of EE1, then you can use the code below. for redit = 1:numel(EE1)-1 if EE1{redit}-100>...
Comparing an array of cells in a matrix
If you want loop through all values of EE1, then you can use the code below. for redit = 1:numel(EE1)-1 if EE1{redit}-100>...
5 years 前 | 0
已回答
Determining the distance between the peaks
In the documentation you can find the correct syntax. You need to provide the Name argument first and then the Value argument: ...
Determining the distance between the peaks
In the documentation you can find the correct syntax. You need to provide the Name argument first and then the Value argument: ...
5 years 前 | 0
已回答
Hello, any one help me, How can I write this?
Try this: function cal_butButtonPushed(app, event) P=app.p_val; T=app.t_val; N=app.n_val; Y=app.y_val; I=N*((T/P)^(1/(N*Y)...
Hello, any one help me, How can I write this?
Try this: function cal_butButtonPushed(app, event) P=app.p_val; T=app.t_val; N=app.n_val; Y=app.y_val; I=N*((T/P)^(1/(N*Y)...
5 years 前 | 0
| 已接受
已回答
Index exceeds array bounds.
Then your loop variable is bigger than fitin. You should make sure that this is not the case. function [C] = clone_mut_selectio...
Index exceeds array bounds.
Then your loop variable is bigger than fitin. You should make sure that this is not the case. function [C] = clone_mut_selectio...
5 years 前 | 1
已回答
how to find coordinates of specific pixel l value?
[row,col]=find(BW3==1); depending on your image orientation, either row is x, or col is x.
how to find coordinates of specific pixel l value?
[row,col]=find(BW3==1); depending on your image orientation, either row is x, or col is x.
6 years 前 | 1
| 已接受
已回答
How to access the nested structure inside a nested for loop?
See if this works. If the input data is not similar to your data or the output is not as desired, please write some code that ge...
How to access the nested structure inside a nested for loop?
See if this works. If the input data is not similar to your data or the output is not as desired, please write some code that ge...
6 years 前 | 0
已回答
How to capture image in gui?
You can use <https://www.mathworks.com/matlabcentral/fileexchange/36391-screen-capture |screencapture|> to use Java to make a ca...
How to capture image in gui?
You can use <https://www.mathworks.com/matlabcentral/fileexchange/36391-screen-capture |screencapture|> to use Java to make a ca...
7 years 前 | 0
已回答
Output of matrices with symbolic values not being zero but instead being x*e^-17
The problem with computers is that they count in binary, which means they can have trouble storing some numbers. The standard da...
Output of matrices with symbolic values not being zero but instead being x*e^-17
The problem with computers is that they count in binary, which means they can have trouble storing some numbers. The standard da...
7 years 前 | 0
已回答
I need some Help with data formatting in file .txt
If you have read your file to a table, you can just remove the variable. If you read your file as a char matrix, you can just re...
I need some Help with data formatting in file .txt
If you have read your file to a table, you can just remove the variable. If you read your file as a char matrix, you can just re...
7 years 前 | 0
| 已接受
已回答
'While' loop that pulls data from a matrix with n rows
Your loop variable is |z|, while you use |y| inside your loop, so it repeats the same code |y| times (assuming you have hidden t...
'While' loop that pulls data from a matrix with n rows
Your loop variable is |z|, while you use |y| inside your loop, so it repeats the same code |y| times (assuming you have hidden t...
7 years 前 | 1
| 已接受
已回答
Replace multiple substrings within a string
function X=LindIter(N) X='A'; for i=1:N %replace A with BRARB, replace B with ALBLA. X(X=='A')='1'; ...
Replace multiple substrings within a string
function X=LindIter(N) X='A'; for i=1:N %replace A with BRARB, replace B with ALBLA. X(X=='A')='1'; ...
7 years 前 | 0