Feeds
質問
Rearranging matrix of sth elements
Dear community, I have a 1x1716 array that I would like to rearrange but I also would like to keep the 1x1716 matrix shape. I ...
2年弱 前 | 1 件の回答 | 0
1
回答質問
How to obtain data in a matrix from fig.file?
Hi, A colleague gave a fig. file which is a 2D matrix with a scale color from 0 to 255. He plotted the data, saved them in a f...
6年弱 前 | 1 件の回答 | 0
1
回答質問
How to convert a structure int16 into a matrix?
I am opening a variable (VAR) which is a structure and it contains inside 3 field which column of numbers (a,b,c) and 4th colum...
約6年 前 | 1 件の回答 | 0
1
回答質問
how to make a vector circularly simmetric?
Hello, I would like to make my vector circulary simmetric. I have something like A=[1,5,15,50,15,5,1]; And I would ...
7年弱 前 | 0 件の回答 | 0
0
回答質問
recall a figure in guide
Hello! I am building an interface with GUI. By using a pushing bottom I open a figure, and by pushing a second one, I add a fi...
約8年 前 | 1 件の回答 | 0
1
回答質問
Gerchberg–Saxton algorithm
Hello! I have the following code: for k=1:1:20; G_pr=absP.*exp(i.*theta); g_pr=ifft2(ifftshift(G_pr)); absPhase...
約9年 前 | 1 件の回答 | 0
1
回答回答済み
Calculation of Phi value in matlab
Try: width=20;length=40;height=10; x=1:2:20; y=1:4:40; z=1:1:10; E =length/width; alpha=atan(E);...
Calculation of Phi value in matlab
Try: width=20;length=40;height=10; x=1:2:20; y=1:4:40; z=1:1:10; E =length/width; alpha=atan(E);...
約9年 前 | 1
| 採用済み
質問
Max for intervals in along vector
Hello, I have a long vector L=1:1000 and I want to know what is the maximum value every 10 cells. For example: Range1=...
約9年 前 | 1 件の回答 | 0
1
回答質問
How to create a wire of white dots
Hello, I am quite clumsy in Matlab. I want to make a wire of white dots on a black surface. Something like that: 1 1 0 0 0...
9年以上 前 | 1 件の回答 | 0
1
回答質問
For loop for multiple vectors
Hello people: I have the following code: L=500; S=ones(1,L); n=50; S((L/2-n(i)/2):(L/2+n(i)/2))=0...
9年以上 前 | 1 件の回答 | 0
1
回答質問
How can I solve this loop?
I have the following: R=[-0.1 0 0.1 0.2 0.3 0.4] Length=20; theta=(P_hight-Diam)/Length; for i=1:1:5; ...
11年弱 前 | 0 件の回答 | 0
0
回答回答済み
How to include next line while showing the output?
You can use the command input(''). When your matlab programm finish will ask you for the parameter to continue.
How to include next line while showing the output?
You can use the command input(''). When your matlab programm finish will ask you for the parameter to continue.
12年以上 前 | 0
質問
problems in loop with findpeaks
Hi, I am having problems in a loop with the function "findpeaks.m". I think the solution is very simple, but I cannot find it....
12年以上 前 | 1 件の回答 | 0