![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10857021_1534263716201_DEF.jpg)
Miriam
2018년부터 활동
Followers: 0 Following: 0
Feeds
답변 있음
How to calculate the entropy of a grayscale image.
Hi Ishara, It looks like you are trying to find the height, width, and histogram using the entropy value you found. Maybe try: ...
How to calculate the entropy of a grayscale image.
Hi Ishara, It looks like you are trying to find the height, width, and histogram using the entropy value you found. Maybe try: ...
거의 6년 전 | 0
| 수락됨
답변 있음
gradient of a gradient giving drastically different answer than the del2 operator
With your gradient method you are only taking the derivative along the y dimension, wheras the del2 operator approximates Laplac...
gradient of a gradient giving drastically different answer than the del2 operator
With your gradient method you are only taking the derivative along the y dimension, wheras the del2 operator approximates Laplac...
거의 6년 전 | 0
| 수락됨
답변 있음
How to set specific values in an array to a certain color when using imagesc?
You can define your own colormap as follows: x = randi([0 3],10,10); colors = [0 0 1;... % blue for 0 0 1 0;... % g...
How to set specific values in an array to a certain color when using imagesc?
You can define your own colormap as follows: x = randi([0 3],10,10); colors = [0 0 1;... % blue for 0 0 1 0;... % g...
거의 6년 전 | 0
답변 있음
Why do I have different results?
You should convert data and estimate using double() as well. The RMSE function also contains a squared error calculation where a...
Why do I have different results?
You should convert data and estimate using double() as well. The RMSE function also contains a squared error calculation where a...
거의 6년 전 | 0
| 수락됨
답변 있음
Unsure on how to achieve goal - Function output isn't right
Have the second for loop end after assigning the value of abs_sol_rad, ie: function [abs_sol_rad]=solarrad(nc,lat,t,I) %% .....
Unsure on how to achieve goal - Function output isn't right
Have the second for loop end after assigning the value of abs_sol_rad, ie: function [abs_sol_rad]=solarrad(nc,lat,t,I) %% .....
거의 6년 전 | 0
답변 있음
counting the number of 1's and 0's in each row
tag123_data = [0;1;1]; scm = randi(0:1,3,16); out_data = xor(tag123_data,scm); n_ones = sum(out_data,2); n_zeros = size(o...
counting the number of 1's and 0's in each row
tag123_data = [0;1;1]; scm = randi(0:1,3,16); out_data = xor(tag123_data,scm); n_ones = sum(out_data,2); n_zeros = size(o...
거의 6년 전 | 0
| 수락됨
답변 있음
4D matrix in .txt and .csv
You could reshape your data (https://www.mathworks.com/help/matlab/ref/reshape.html) into a 2D matrix (something like [256x256x2...
4D matrix in .txt and .csv
You could reshape your data (https://www.mathworks.com/help/matlab/ref/reshape.html) into a 2D matrix (something like [256x256x2...
거의 6년 전 | 0
답변 있음
About FFT of Exponential decay - two-sided
Hi Erick, I think the problem lies in your definition of "Ground_Truth". Based on the website you linked to, it should be def...
About FFT of Exponential decay - two-sided
Hi Erick, I think the problem lies in your definition of "Ground_Truth". Based on the website you linked to, it should be def...
거의 6년 전 | 0
| 수락됨
답변 있음
How do I replace "for" loops by matrix multiplication? I am getting confused because of 4 "for" loops. Any suggestions?
dxdy = 1; [x,y,u,v] = ndgrid(-1:1); value = input_data.*exp((-1i*k*(((u-x).^2) + (v-y).^2))/(2*0.2))*(dxdy); S_rows = sum(...
How do I replace "for" loops by matrix multiplication? I am getting confused because of 4 "for" loops. Any suggestions?
dxdy = 1; [x,y,u,v] = ndgrid(-1:1); value = input_data.*exp((-1i*k*(((u-x).^2) + (v-y).^2))/(2*0.2))*(dxdy); S_rows = sum(...
거의 6년 전 | 0
답변 있음
I'm getting a blank graph.
You are trying to plot a line using single points. If you would like them to show up, consider using plot(w,abs(X(1)),'o');...
I'm getting a blank graph.
You are trying to plot a line using single points. If you would like them to show up, consider using plot(w,abs(X(1)),'o');...
거의 6년 전 | 0
| 수락됨