Björn
KTH
Followers: 0 Following: 0
PhD student at KTH Stockholm
Feeds
已回答
Copy Figure Elements to System Clipboard
For the last part you could consider saving the figure as .fig and then copy the file to the other computer. Here you can open d...
Copy Figure Elements to System Clipboard
For the last part you could consider saving the figure as .fig and then copy the file to the other computer. Here you can open d...
11 years 前 | 0
已回答
Plotting data throughout a 24 hour period
I would suggest the following: hour = datevec(:,4); minute = datevec(:,5); hour_decimal = hour+minute/60; plot(hour_deci...
Plotting data throughout a 24 hour period
I would suggest the following: hour = datevec(:,4); minute = datevec(:,5); hour_decimal = hour+minute/60; plot(hour_deci...
11 years 前 | 0
| 已接受
提问
custom alpha-data in surface plot
I am plotting multiple surfaces in one figure. Now I want to make the areas of the plot close to zero a transparency-gradient. F...
11 years 前 | 1 个回答 | 0
1
个回答提问
error ga optimization: M must be in the range 0 <= M <= 1.
When trying to optimize a function with the ga-function in the 'Optimization Tool' I get the error: M must be in the range 0 <= ...
12 years 前 | 1 个回答 | 0
1
个回答已回答
Visualizing functions of 2 variables:
It is not completely clear to me what you want, but if I interpret your question correctly you want to first x to use the first ...
Visualizing functions of 2 variables:
It is not completely clear to me what you want, but if I interpret your question correctly you want to first x to use the first ...
12 years 前 | 0
| 已接受
已回答
∑_(u=1)^(su-2)▒∑_(v=1)^sv▒δ(i,j)..how to write this equation in for loop?
It seems that the delta is the Kronecker Delta. In that case ou can make the following for-loop for this: result=0; for u...
∑_(u=1)^(su-2)▒∑_(v=1)^sv▒δ(i,j)..how to write this equation in for loop?
It seems that the delta is the Kronecker Delta. In that case ou can make the following for-loop for this: result=0; for u...
12 years 前 | 0
| 已接受
已回答
Need to plot x^2+y^2=z^2; plot in 3D ; also obtain 2D cut in xy plane. How od I do this. Thanks
There are several ways to do this. First you need to create the x- and y- arrays. This can be done using: x=x_min:dx:x_max ...
Need to plot x^2+y^2=z^2; plot in 3D ; also obtain 2D cut in xy plane. How od I do this. Thanks
There are several ways to do this. First you need to create the x- and y- arrays. This can be done using: x=x_min:dx:x_max ...
12 years 前 | 0
| 已接受
已回答
3d to 2d matrix
This might do the trick: A=reshape(reflectances,1,r*c,w); A=reshape(A,r*c,w)'; You first convert it to a [1,r*c,w] matr...
3d to 2d matrix
This might do the trick: A=reshape(reflectances,1,r*c,w); A=reshape(A,r*c,w)'; You first convert it to a [1,r*c,w] matr...
12 years 前 | 0
提问
include isolines in colormap/colorbar
I have a surface-plot on top of which I plot a 3D-contour-plot. Is it possible to add the contour-lines in the colormap/colorbar...
12 years 前 | 0 个回答 | 0
0
个回答已回答
matrix question (finding the smallest number in each row)
[~,min_col]=min(B,[],2) This gives you a 1455x1 vector with the column-number of the smallest element in in the rows. To als...
matrix question (finding the smallest number in each row)
[~,min_col]=min(B,[],2) This gives you a 1455x1 vector with the column-number of the smallest element in in the rows. To als...
12 years 前 | 0
| 已接受
提问
Increase amount of processor- and RAM used by MATLAB (parfor)
I'm running big calculations and simulations on a powerful computer (8 i7-cores and 12 GB RAM). But for some reason it only uses...
12 years 前 | 3 个回答 | 0
3
个回答提问
Add line in combined surface-plot where surfaces cross
Using the hold function I plot two surfaces in a surface-plot: surf(A,'linestyle','none') hold on surf(B,'linestyle','non...
12 years 前 | 0 个回答 | 0