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
Feeds
답변 있음
Script has no errors, but no plot is given
% Constants hbar = 1.0545718e-34; % Planck's constant m = 9.10938356e-31; % Electron mass l = 1; % angular momentum quantum...
Script has no errors, but no plot is given
% Constants hbar = 1.0545718e-34; % Planck's constant m = 9.10938356e-31; % Electron mass l = 1; % angular momentum quantum...
12일 전 | 0
| 수락됨
답변 있음
Index in position 1 is invalid. Array indices must be positive integers or logical values.
You need to proceed like this: tic % Specifying the length of the array N = 1000; % Making phi and theta array lengths th...
Index in position 1 is invalid. Array indices must be positive integers or logical values.
You need to proceed like this: tic % Specifying the length of the array N = 1000; % Making phi and theta array lengths th...
13일 전 | 0
| 수락됨
답변 있음
How to move colorbar in scatter3 plot and keep it inside the figure
You need to play with the position. cb.Position = [x y L w] ; The position have the details of position (x,y) of the colorbar...
How to move colorbar in scatter3 plot and keep it inside the figure
You need to play with the position. cb.Position = [x y L w] ; The position have the details of position (x,y) of the colorbar...
대략 1개월 전 | 0
답변 있음
How do I plot a polynomial equation and set of x-y coordinates on the same graph?
x = [2 5 8 11 14 20]; y = [0.20 0.29 0.44 0.50 0.66 0.56]; p = polyfit(x,y,3) ; yi = polyval(p,x) ; figure hold on plo...
How do I plot a polynomial equation and set of x-y coordinates on the same graph?
x = [2 5 8 11 14 20]; y = [0.20 0.29 0.44 0.50 0.66 0.56]; p = polyfit(x,y,3) ; yi = polyval(p,x) ; figure hold on plo...
2개월 전 | 0
답변 있음
How to make double array representation as complex array with null imaginary number ?
z = 3+eps*1i
How to make double array representation as complex array with null imaginary number ?
z = 3+eps*1i
3개월 전 | 2
| 수락됨
답변 있음
How can I perform time averaging of a signal acquired with an accelerometer?
Read about smooth, movmean.
How can I perform time averaging of a signal acquired with an accelerometer?
Read about smooth, movmean.
3개월 전 | 1
답변 있음
Rearranging a vector into a matrix according to other two vectors
x = unique(lat) ; y = unique(depth) ; [X,Y] = meshgrid(x,y) ; F = scatteredInterpolant(lat,depth,concentration,'linear','n...
Rearranging a vector into a matrix according to other two vectors
x = unique(lat) ; y = unique(depth) ; [X,Y] = meshgrid(x,y) ; F = scatteredInterpolant(lat,depth,concentration,'linear','n...
3개월 전 | 1
답변 있음
how to store total numbers from for loop in variables
x = xlsread('grades.xlsx'); % Initialise all variables to zero fa = 0; pa = 0; cr = 0; di = 0; hd = 0; % Write your cod...
how to store total numbers from for loop in variables
x = xlsread('grades.xlsx'); % Initialise all variables to zero fa = 0; pa = 0; cr = 0; di = 0; hd = 0; % Write your cod...
3개월 전 | 1
답변 있음
Plot time-series data
Let A be your table. wavelength = A(:,1) ; Time = 1:size(A,2)-1 ; data = A(:,2:end) ; h = pcolor(wavelength,Time,data') ;...
Plot time-series data
Let A be your table. wavelength = A(:,1) ; Time = 1:size(A,2)-1 ; data = A(:,2:end) ; h = pcolor(wavelength,Time,data') ;...
3개월 전 | 0
답변 있음
Extracting Histogram data for plot generation
h = histogram(rand(100,1)) data = h.Data ; BinEdges = h.BinEdges ; Values = h.Values ;
Extracting Histogram data for plot generation
h = histogram(rand(100,1)) data = h.Data ; BinEdges = h.BinEdges ; Values = h.Values ;
4개월 전 | 0
답변 있음
Trying to find pi using when loops to a tolerance of 10^-4.
Try somewthing l;ike this: % summation of pi = 4 * (-1^(k+1))/(2*k-1) ; n_digits = 10 ; iteration = 0 ; % starting iteratio...
Trying to find pi using when loops to a tolerance of 10^-4.
Try somewthing l;ike this: % summation of pi = 4 * (-1^(k+1))/(2*k-1) ; n_digits = 10 ; iteration = 0 ; % starting iteratio...
4개월 전 | 0
답변 있음
hi how can i evaluate the function below from x=1,x=2 into a step of 0.1 y=x/(x2+1)
x = 1:0.1:2; % Define the range of x with a step of 0.1 y = x./(x.^2 + 1); % Evaluate the function plot(x,y)
hi how can i evaluate the function below from x=1,x=2 into a step of 0.1 y=x/(x2+1)
x = 1:0.1:2; % Define the range of x with a step of 0.1 y = x./(x.^2 + 1); % Evaluate the function plot(x,y)
4개월 전 | 0
답변 있음
convert a .mat to excel file
matFiles = dir('*.mat') ; N = length(matFiles) ; T = table; for i =1:N load(matFiles(i).name) ; T.(i) = val ; ...
convert a .mat to excel file
matFiles = dir('*.mat') ; N = length(matFiles) ; T = table; for i =1:N load(matFiles(i).name) ; T.(i) = val ; ...
4개월 전 | 0
답변 있음
Solving a system of Non Linear Differential Equations
This is the code..I am getting hight values...you may check and modify the code. tspan = [0 1]; y0 = [0 0 100]; sol = ode45(...
Solving a system of Non Linear Differential Equations
This is the code..I am getting hight values...you may check and modify the code. tspan = [0 1]; y0 = [0 0 100]; sol = ode45(...
4개월 전 | 0
답변 있음
Why does it give error in spectrogram plotting?
Replace data = @(filename)fullfile('D:\Rahul\Data_tokamak\data&plot\data_paper1\H-mode data\H-mode bistable model\set1_neoAno_r...
Why does it give error in spectrogram plotting?
Replace data = @(filename)fullfile('D:\Rahul\Data_tokamak\data&plot\data_paper1\H-mode data\H-mode bistable model\set1_neoAno_r...
4개월 전 | 0
| 수락됨
답변 있음
Plot a time series plot in customized rectangle
plot(time,pm_1,'b','LineWidth',1); % You may change line width
Plot a time series plot in customized rectangle
plot(time,pm_1,'b','LineWidth',1); % You may change line width
4개월 전 | 1
답변 있음
Hi, I'd like to see the temperature on a surface map of lon (-20 20) and lat (-10 10).I'd like to have an idea so that this script gives me a better visual like on the figure?
You need to make the values lying outside the given scattered points to NaN. For outside values, the function will extrapolate w...
Hi, I'd like to see the temperature on a surface map of lon (-20 20) and lat (-10 10).I'd like to have an idea so that this script gives me a better visual like on the figure?
You need to make the values lying outside the given scattered points to NaN. For outside values, the function will extrapolate w...
4개월 전 | 0
| 수락됨
답변 있음
fsurf(sym(1), [0 1 0 1], 'y', 'EdgeColor', 'none'), this is fun for z axis , how about y axis?
What you gave is similiar to: x = linspace(0,1,35) ; y = linspace(0,1,35) ; [X,Y] = meshgrid(x,y) ; Z = ones(size(X)) ; ...
fsurf(sym(1), [0 1 0 1], 'y', 'EdgeColor', 'none'), this is fun for z axis , how about y axis?
What you gave is similiar to: x = linspace(0,1,35) ; y = linspace(0,1,35) ; [X,Y] = meshgrid(x,y) ; Z = ones(size(X)) ; ...
4개월 전 | 1
답변 있음
Using the clear command in functions?
Becuase clc, clear clears your input variables which are saved in the workspace. You need not to use it inside the function. ...
Using the clear command in functions?
Becuase clc, clear clears your input variables which are saved in the workspace. You need not to use it inside the function. ...
4개월 전 | 1
답변 있음
Error using surf Z must be a matrix, not a scalar or vector.
You have to use X and Y i.e matrix in the calculation Z. x=(0:0.1:pi); y=(0:0.1:pi); [X, Y]= meshgrid(x,y); Z=(sin(0.3*X)+(...
Error using surf Z must be a matrix, not a scalar or vector.
You have to use X and Y i.e matrix in the calculation Z. x=(0:0.1:pi); y=(0:0.1:pi); [X, Y]= meshgrid(x,y); Z=(sin(0.3*X)+(...
5개월 전 | 0
| 수락됨
답변 있음
How to fill/interpolate missing data to nearest geospatial coordinate?
% Prepare dummy data [X,Y] = meshgrid(1:10,1:10) ; Z = rand(size(X)) ; % Make random nan's idx = sort(randsample(numel(X...
How to fill/interpolate missing data to nearest geospatial coordinate?
% Prepare dummy data [X,Y] = meshgrid(1:10,1:10) ; Z = rand(size(X)) ; % Make random nan's idx = sort(randsample(numel(X...
6개월 전 | 0
답변 있음
Loading a .fig file in MATLAB without losing information
h1 = openfig('test1.fig','reuse'); % open existing/ saved figure ax1 = gca; % get handle to axes of figure h2 = figure; % cr...
Loading a .fig file in MATLAB without losing information
h1 = openfig('test1.fig','reuse'); % open existing/ saved figure ax1 = gca; % get handle to axes of figure h2 = figure; % cr...
6개월 전 | 1
| 수락됨
답변 있음
How to get the plot x&y when a user clicks on a point I have plotted
REad about getpts
How to get the plot x&y when a user clicks on a point I have plotted
REad about getpts
6개월 전 | 0
답변 있음
I wonder how to make the lines thicker in rlocus graph
sys = tf([2 5 1],[1 2 3]); rlocus(sys) set(findall(gca, 'Type', 'Line'),'LineWidth',5);
I wonder how to make the lines thicker in rlocus graph
sys = tf([2 5 1],[1 2 3]); rlocus(sys) set(findall(gca, 'Type', 'Line'),'LineWidth',5);
7개월 전 | 0
답변 있음
How to get output of multiple variables in xls
Let the variables be x, y, z. T = table(x,y,z) ; writetable(T,'text.xlsx')
How to get output of multiple variables in xls
Let the variables be x, y, z. T = table(x,y,z) ; writetable(T,'text.xlsx')
7개월 전 | 0
답변 있음
FE triangle mesh without the mesh node connections visible
h1 = trisurf(meshConnections, X, Y, Z, permittivity); h1.EdgeColor = 'none' ;
FE triangle mesh without the mesh node connections visible
h1 = trisurf(meshConnections, X, Y, Z, permittivity); h1.EdgeColor = 'none' ;
7개월 전 | 0
| 수락됨
답변 있음
Searching a string on a table to get time
You may try using functions like contains, strcmp T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/...
Searching a string on a table to get time
You may try using functions like contains, strcmp T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/...
7개월 전 | 0
답변 있음
Why dot indexing is not supported for variables of this type using EMD method in MATLAB R2019a version ? What can I do?
It seems IMF is not a sturcutre. Check class(IMF) If it is double. Try max(IMF)
Why dot indexing is not supported for variables of this type using EMD method in MATLAB R2019a version ? What can I do?
It seems IMF is not a sturcutre. Check class(IMF) If it is double. Try max(IMF)
8개월 전 | 0
| 수락됨
답변 있음
How to plot the graph from the data table as attached.
load matlab.mat ; x = LineProfile.(1) ; y = LineProfile.(2) ; plot(X,y,'r') hold on plot(x,smooth(y),'b')
How to plot the graph from the data table as attached.
load matlab.mat ; x = LineProfile.(1) ; y = LineProfile.(2) ; plot(X,y,'r') hold on plot(x,smooth(y),'b')
9개월 전 | 0
| 수락됨
답변 있음
Matlab Error (Z must be a matrix, not a scalar or vector.)?
P_air = .1:.1:4; alpha = .0125:.0125:.5; [alpha,P_air] = meshgrid(alpha,P_air); T_air_dry = (1/0.0408)*log((0.42*P_air.*(1-al...
Matlab Error (Z must be a matrix, not a scalar or vector.)?
P_air = .1:.1:4; alpha = .0125:.0125:.5; [alpha,P_air] = meshgrid(alpha,P_air); T_air_dry = (1/0.0408)*log((0.42*P_air.*(1-al...
9개월 전 | 1
| 수락됨