photo

Jincy


Last seen: oltre un anno fa Attivo dal 2023

Followers: 0   Following: 0

Statistica

Feeds

Visto da

Domanda


How to read '.m' files which is already saved in matlab
I am just find the year by year nanmaean and saved that script by creating a new folder.Now i want to plot polynomial curve fitt...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


i have total 364 number of .nc files and i want to read only 10 .nc files with lat,lon,time,and soilmoisture.
In this data lat,lon,time and soil moisture are the variables and they all are same for this 10 files except soil moisture data....

oltre un anno fa | 0 risposte | 0

0

risposte

Domanda


I want to read 2 nc files which containing soil moisture as variable, but when readin the given code ,it showing some error
file1= 'path of the file1' file2='path of file2' sm= ncread(file1,'sm') ; sm=ncread (file2,'sm') ;

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


how to calculate the mean using loop
i want to calculate the mean value in 2*2 size by creating a loop A = [1 2; 3 4]; % Matrix A B = [2 3; 5 6]; % Matrix ...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


how could i stack multiple satellite data of soil moisture in to one and find out the nanmean of all files? The size of files is 1440*720. The file is in '.nc' format.
% read the all nc file file = dir('*.nc'); for i = 1:length(file); sm(i) = sm(:,:,i); sm.mean = nanmean(:,:,i)

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


how to create a 2*2 matrix by combining two matrices with size of 2*2 ie A and B are 2*2 and i want to get C also 2*2
A =[1 2;3 4]; B=[2 3;5 6]; C=[A;B] ( should be in 2*2 )

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


How to read the variable in a loop where the satellite data is in 'h5' format? When i am check the code, am little confused. The code is given below
n = 5; for i = 1:n fprintf( 'The value of n is %d/n',i); end

oltre un anno fa | 0 risposte | 0

0

risposte

Domanda


how to convert the satellite data to an image
% Load satellite data sat_data = load('satellite_data.mat'); % Pre-process the data sat_data = imadjust(sat_data,[0 1],[0.1 0...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


how to convert a graph from the satellite data to an image form
% Import satellite data set_data = imread('satellite_data.jpg'); % Reshape the data into an image format sat_image = reshape...

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


how to create a loop to calculate the mean of pixels of satellite data of a specified area like india? pixe size of the data is 1440*720
% Load or create an image image = imread('your_image.jpg'); % Replace with your image file name or path % Determine image si...

oltre un anno fa | 1 risposta | 0

1

risposta