photo

Miriam


2018 年からアクティブ

Followers: 0   Following: 0

統計

  • Knowledgeable Level 2
  • First Answer

バッジを表示

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: ...

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...

約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...

約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...

約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) %% .....

約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...

約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...

約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...

約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(...

約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');...

約6年 前 | 0

| 採用済み