Community Profile

photo

Miriam


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
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: ...

plus de 5 ans il y a | 0

| A accepté

A répondu
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...

plus de 5 ans il y a | 0

| A accepté

A répondu
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...

plus de 5 ans il y a | 0

A répondu
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...

plus de 5 ans il y a | 0

| A accepté

A répondu
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) %% .....

plus de 5 ans il y a | 0

A répondu
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...

plus de 5 ans il y a | 0

| A accepté

A répondu
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...

plus de 5 ans il y a | 0

A répondu
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...

plus de 5 ans il y a | 0

| A accepté

A répondu
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(...

plus de 5 ans il y a | 0

A répondu
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');...

plus de 5 ans il y a | 0

| A accepté