Robert Dylans
Followers: 0 Following: 0
Feeds
質問
Interrupt a timer wait functon immediately
I have a function that runs through an undetermined amount of iterations in 5 second intervals, until a user clicks the "cancel"...
約9年 前 | 1 件の回答 | 0
1
回答回答済み
How to Create function to invert Image colors
A simple invert of image 'x' into image 'y': x=imread('image.jpg'); y(:,:,:)=255-x(:,:,:);
How to Create function to invert Image colors
A simple invert of image 'x' into image 'y': x=imread('image.jpg'); y(:,:,:)=255-x(:,:,:);
約9年 前 | 0
回答済み
How do you store data created in a loop in a vector
To store data in the vector, use the variable that is being used for the loop as the vector index. data(n)=answer It's always ...
How do you store data created in a loop in a vector
To store data in the vector, use the variable that is being used for the loop as the vector index. data(n)=answer It's always ...
約9年 前 | 1
| 採用済み
回答済み
Taking mean without max values
x=[1,2,3;4,5,6;7,8,500]; mean_value=(sum(x(:))-max(x(:)))/(numel(x)-1); For 1d vectors rather than a matrix, you can e...
Taking mean without max values
x=[1,2,3;4,5,6;7,8,500]; mean_value=(sum(x(:))-max(x(:)))/(numel(x)-1); For 1d vectors rather than a matrix, you can e...
約9年 前 | 0
| 採用済み
回答済み
Variable change over time
If there's no particular requirement for the function's data, other than it "looks like" that kind of shape, you can use a formu...
Variable change over time
If there's no particular requirement for the function's data, other than it "looks like" that kind of shape, you can use a formu...
約9年 前 | 1
回答済み
appending data to scatter(x,y)
"Center of mass" makes me hesitate a bit on this. Might want to clarify exactly what you mean by that. Do you want to connect ...
appending data to scatter(x,y)
"Center of mass" makes me hesitate a bit on this. Might want to clarify exactly what you mean by that. Do you want to connect ...
約9年 前 | 0
| 採用済み
回答済み
How to create a random Bernoulli matrix ?
p=0.5; %probability of success n=256; A=rand(n); A=(A<p) or p=0.5; A=(rand(256)<p)
How to create a random Bernoulli matrix ?
p=0.5; %probability of success n=256; A=rand(n); A=(A<p) or p=0.5; A=(rand(256)<p)
約9年 前 | 3
| 採用済み
質問
Interrupt a timer wait function
I have a function that runs through an undetermined amount of iterations in 5 second intervals, until a user clicks the "cancel"...
約9年 前 | 1 件の回答 | 0
1
回答質問
Cell array display within if statements
Basically I have a few nested loops, and at some point if conditions are met, I want it to output a certain string. However, ou...
約9年 前 | 2 件の回答 | 0
2
回答質問
Preallocation not helping with speed; actxserver
I have a folder of 500 separate Excel files (.csv to be specific). I'm reading a specific data range from them. My main proble...
約9年 前 | 1 件の回答 | 0