Community Profile

# Miriam

10 total contributions since 2018

View details...

Contributions in
View by

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

presque 2 ans ago | 0

| accepted

With your gradient method you are only taking the derivative along the y dimension, wheras the del2 operator approximates Laplac...

presque 2 ans ago | 0

| accepted

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

presque 2 ans ago | 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...

presque 2 ans ago | 0

| accepted

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

presque 2 ans ago | 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...

presque 2 ans ago | 0

| accepted

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

presque 2 ans ago | 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...

presque 2 ans ago | 0

| accepted