Jincy
Followers: 0 Following: 0
Feeds
提问
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...
1 year 前 | 2 个回答 | 0
2
个回答提问
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....
1 year 前 | 0 个回答 | 0
0
个回答提问
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') ;
1 year 前 | 1 个回答 | 0
1
个回答提问
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 ...
1 year 前 | 1 个回答 | 0
1
个回答提问
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)
1 year 前 | 1 个回答 | 0
1
个回答提问
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 )
1 year 前 | 1 个回答 | 0
1
个回答提问
how to display all of the 'nc' files ? I have total number of 52 files, and when i am run the code, it gives the output as '0*1 struct ' ? The code is given beolw
file = dir('.nc,')
1 year 前 | 1 个回答 | 0
1
个回答提问
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
1 year 前 | 0 个回答 | 0
0
个回答提问
I want to calculate the mean of the soil moisture satellite data ,i have daily based data of one year with size 1440*720,and how to calculate the mean? I am confused to find
sm_mean = nanmean(:,:,3)
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 2 个回答 | 0
2
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
how to create a loop to calculate the mean of pixels of satellite data of a specified area like India
for i = 1:3
1 year 前 | 0 个回答 | 0