
KSSV
https://sites.google.com/site/kolukulasivasrinivas/ Professional Interests: Mathematical Computing
Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu
통계
All
Content Feed
답변 있음
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' ; % path with ame of file file2='path of file2' ; % path with name of file sm1= ncread(file1,'sm'...
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' ; % path with ame of file file2='path of file2' ; % path with name of file sm1= ncread(file1,'sm'...
6일 전 | 0
답변 있음
How to do a Taylor expansion with a matrix
syms x f = exp(x) T = taylor(f) In place of x substitue each value of G.
How to do a Taylor expansion with a matrix
syms x f = exp(x) T = taylor(f) In place of x substitue each value of G.
6일 전 | 0
답변 있음
How to calculate and plot this pcolor plot?
A = rand(1100,800,764) ; mu = mean(A,3) ; sigma = std(A,[],3) ; idx = mu >= sigma/sqrt(764) ; h = pcolor(idx) ; h.EdgeColo...
How to calculate and plot this pcolor plot?
A = rand(1100,800,764) ; mu = mean(A,3) ; sigma = std(A,[],3) ; idx = mu >= sigma/sqrt(764) ; h = pcolor(idx) ; h.EdgeColo...
7일 전 | 1
| 수락됨
답변 있음
Can this equation be solved for x? How does the solution look? Thank you
syms x a b c d eqn = x^2-b*x+a^2*x^4-d*x^2+c==0 s = solve(eqn,x)
Can this equation be solved for x? How does the solution look? Thank you
syms x a b c d eqn = x^2-b*x+a^2*x^4-d*x^2+c==0 s = solve(eqn,x)
7일 전 | 0
| 수락됨
답변 있음
how to normalize a dataset where the maximum value or the original dataset needs to be the lowest value of the normalized dataset
X=80:1:150 ; R = rescale(X,0.85,0.95) ;
how to normalize a dataset where the maximum value or the original dataset needs to be the lowest value of the normalized dataset
X=80:1:150 ; R = rescale(X,0.85,0.95) ;
7일 전 | 0
답변 있음
Interpolation of a matrix in 2D for complex numbers
You may use imresize. Let A be your complex matrix: B = imresize(A,2) ; % this makes double the size of A, you can specify t...
Interpolation of a matrix in 2D for complex numbers
You may use imresize. Let A be your complex matrix: B = imresize(A,2) ; % this makes double the size of A, you can specify t...
7일 전 | 0
답변 있음
Plotting data in 3D
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1392204/plotdata.xlsx') ; plot3(T.(3),T.(4),T.(5),...
Plotting data in 3D
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1392204/plotdata.xlsx') ; plot3(T.(3),T.(4),T.(5),...
8일 전 | 0
답변 있음
I can't find what's wrong with my code
As you are doing a single point at time, you need to use the marker '.'. %input data D_AB=1.5e-07; D=0.1; t=5058.85; n=5...
I can't find what's wrong with my code
As you are doing a single point at time, you need to use the marker '.'. %input data D_AB=1.5e-07; D=0.1; t=5058.85; n=5...
9일 전 | 0
답변 있음
Trying to do an if/and statement on a vector but have an addition apply to only one element of vector
direction = [350; 8; 355; 1; 359]; direction0 = direction ; direction(direction<10)=direction(direction<10)+360
Trying to do an if/and statement on a vector but have an addition apply to only one element of vector
direction = [350; 8; 355; 1; 359]; direction0 = direction ; direction(direction<10)=direction(direction<10)+360
9일 전 | 0
| 수락됨
답변 있음
Unable to perform assignment because the left and right sides have a different number of elements.
Repalce YY(t+1) = y; UU(t+1) = u; with YY(t+1,:) = y; UU(t+1,:) = u;
Unable to perform assignment because the left and right sides have a different number of elements.
Repalce YY(t+1) = y; UU(t+1) = u; with YY(t+1,:) = y; UU(t+1,:) = u;
10일 전 | 0
답변 있음
Arrays have incompatible sizes for this operation.
sys.B is of size 2x4 and u is of size 3x1....how you can multiply them?
Arrays have incompatible sizes for this operation.
sys.B is of size 2x4 and u is of size 3x1....how you can multiply them?
10일 전 | 0
| 수락됨
답변 있음
gradient arrows plot in matlab
a=0.819*10^(-3); b=2.73*10^(-3); Vo=15; rho=linspace(a,b,100); %Updated t t=linspace(0,2*pi,360); [rr,tt]=meshgrid(rho,t);...
gradient arrows plot in matlab
a=0.819*10^(-3); b=2.73*10^(-3); Vo=15; rho=linspace(a,b,100); %Updated t t=linspace(0,2*pi,360); [rr,tt]=meshgrid(rho,t);...
10일 전 | 0
| 수락됨
답변 있음
How to extract odd numbered elements.
A = 1:10 ; % Pick only odd elements idx = mod(A,2)~=0 ; A(idx)
How to extract odd numbered elements.
A = 1:10 ; % Pick only odd elements idx = mod(A,2)~=0 ; A(idx)
10일 전 | 0
답변 있음
How to find every principal submatrix of a matrix. (given input row and column indices)
You can delete 1, 3 rd row and column from 5x5 matrix using: A = rand(5) ; A([1 3],:) = [] ; % delete 1st and 3rd row A(:...
How to find every principal submatrix of a matrix. (given input row and column indices)
You can delete 1, 3 rd row and column from 5x5 matrix using: A = rand(5) ; A([1 3],:) = [] ; % delete 1st and 3rd row A(:...
11일 전 | 0
답변 있음
I want to draw a mesh surface. But when I use that code to draw it, YZ line is disappeared...
x=[1 2 3]; y=[1 2 3 4]; [X,Y]=meshgrid(x,y); Z=Y; surf(X,Y,Z)
I want to draw a mesh surface. But when I use that code to draw it, YZ line is disappeared...
x=[1 2 3]; y=[1 2 3 4]; [X,Y]=meshgrid(x,y); Z=Y; surf(X,Y,Z)
11일 전 | 0
| 수락됨
답변 있음
Index in position 1 exceeds array bounds (must not exceed 1).
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1388229/radd.csv') ; dB = T.(3) ; % pol_1 = 10*lo...
Index in position 1 exceeds array bounds (must not exceed 1).
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1388229/radd.csv') ; dB = T.(3) ; % pol_1 = 10*lo...
13일 전 | 0
답변 있음
Solving equation using 'vpa' function
syms x; eqn = sin(x - 1.1556)+(sin(1.1556)*exp(-x/2.2683))==0; solve(eqn,x) vpasolve(eqn,x)
Solving equation using 'vpa' function
syms x; eqn = sin(x - 1.1556)+(sin(1.1556)*exp(-x/2.2683))==0; solve(eqn,x) vpasolve(eqn,x)
15일 전 | 0
답변 있음
How to plot a mashgrid within an ir-regular shape?
clc; clear ; x=72.68:0.005:72.97; y=34:0.005:34.7; n = length(x ) ; m = length(y ) ; [X,Y] = meshgrid(x,y ) ; data=readm...
How to plot a mashgrid within an ir-regular shape?
clc; clear ; x=72.68:0.005:72.97; y=34:0.005:34.7; n = length(x ) ; m = length(y ) ; [X,Y] = meshgrid(x,y ) ; data=readm...
15일 전 | 0
| 수락됨
답변 있음
non uniform data using imagesc is wrong
How about h = pcolor(0:step_number, 3e8./frequencies, 10*log10(Spectra)); ; >> h.EdgeColor = 'none';
non uniform data using imagesc is wrong
How about h = pcolor(0:step_number, 3e8./frequencies, 10*log10(Spectra)); ; >> h.EdgeColor = 'none';
16일 전 | 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
thepath = '' % give you path here ncfiles = dir([thepath,'\*.nc']) ; N = length(ncfiles) ; % total files for i = 1:N ...
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
thepath = '' % give you path here ncfiles = dir([thepath,'\*.nc']) ; N = length(ncfiles) ; % total files for i = 1:N ...
16일 전 | 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(data,'all') Demo A = rand(3,3,3) ; for i = 1:3 mean(A(:,:,i),'all') end
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(data,'all') Demo A = rand(3,3,3) ; for i = 1:3 mean(A(:,:,i),'all') end
17일 전 | 1
답변 있음
How to correct figure size for plots?
set(gcf, 'color','w','Position',[680, 250,1600,846]); % change the dimenions of figure here t1 = tiledlayout(4,2,'TileSpacing...
How to correct figure size for plots?
set(gcf, 'color','w','Position',[680, 250,1600,846]); % change the dimenions of figure here t1 = tiledlayout(4,2,'TileSpacing...
17일 전 | 0
| 수락됨
답변 있음
solve the equation for one variable and find the value of variable
syms a P = [1.0 1.2 2.2 3.4 4.4 6.7 4.2 4.8 6.4 7.4] ; s = zeros(size(P)) ; for i = 1:length(P) p = P(i) ; ...
solve the equation for one variable and find the value of variable
syms a P = [1.0 1.2 2.2 3.4 4.4 6.7 4.2 4.8 6.4 7.4] ; s = zeros(size(P)) ; for i = 1:length(P) p = P(i) ; ...
17일 전 | 0
답변 있음
Can anyone provide me simple code for T-Tide assessment. I want to use T-Tide assessment and prediction. I am new to MATLAB but have basic knowledge. I have tidal data.
This is the home-page for t_Tide: https://www.eoas.ubc.ca/~rich/ You have a look on the function t_demo. This gives an easy ex...
Can anyone provide me simple code for T-Tide assessment. I want to use T-Tide assessment and prediction. I am new to MATLAB but have basic knowledge. I have tidal data.
This is the home-page for t_Tide: https://www.eoas.ubc.ca/~rich/ You have a look on the function t_demo. This gives an easy ex...
17일 전 | 0
답변 있음
i want plot 100 sheets of excel data in one plot. in each sheet number of column's are same and i want to plot 3rd column on Y axis and the cycle(sheet number) on y-axis.
file = 'filename.xlsx' ; [status,sheets] = xlsfinfo(file) ; N = length(sheets) ; figure hold on for i = 1:N fprin...
i want plot 100 sheets of excel data in one plot. in each sheet number of column's are same and i want to plot 3rd column on Y axis and the cycle(sheet number) on y-axis.
file = 'filename.xlsx' ; [status,sheets] = xlsfinfo(file) ; N = length(sheets) ; figure hold on for i = 1:N fprin...
23일 전 | 0
답변 있음
Colormap with different color transition
USe RGB color values. For this use the link: https://www.rapidtables.com/web/color/RGB_Color.html Fix two colrs, initial color...
Colormap with different color transition
USe RGB color values. For this use the link: https://www.rapidtables.com/web/color/RGB_Color.html Fix two colrs, initial color...
23일 전 | 0
답변 있음
find the maximum value in within a specific range?
A = [50.36 2 50.94 500 51.45 40 51.86 253 51.93 290 52.16 960 52.39 15]; ...
find the maximum value in within a specific range?
A = [50.36 2 50.94 500 51.45 40 51.86 253 51.93 290 52.16 960 52.39 15]; ...
29일 전 | 0
| 수락됨