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
回答済み
Data Reshape for Contour Plot
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1776380/RawDataCFXPost.xlsx'); [theta,rho,z] = car...
Data Reshape for Contour Plot
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1776380/RawDataCFXPost.xlsx'); [theta,rho,z] = car...
35分 前 | 0
回答済み
If f1(x,y)≤z≤f2(x,y), how to draw the range of z?
x=-5:0.1:5; y=-5:0.1:5; [m,n] = meshgrid(x,y) ; z1 = m.^2+n.^2; z2 = 3*m.^3+n.^2+1 ; surf(x,y,z1,"EdgeColor","none")...
If f1(x,y)≤z≤f2(x,y), how to draw the range of z?
x=-5:0.1:5; y=-5:0.1:5; [m,n] = meshgrid(x,y) ; z1 = m.^2+n.^2; z2 = 3*m.^3+n.^2+1 ; surf(x,y,z1,"EdgeColor","none")...
8日 前 | 0
回答済み
Pearson correlation graph between variables
clc; clear ; R = zeros(6,1) ; for i = 1:6 X = rand(100,1) ; y = rand(100,1) ; R(i) = regression(X',y') ; ...
Pearson correlation graph between variables
clc; clear ; R = zeros(6,1) ; for i = 1:6 X = rand(100,1) ; y = rand(100,1) ; R(i) = regression(X',y') ; ...
21日 前 | 0
回答済み
how to plot from .csv file?
T=readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1753899/baseline.csv') ; freq=T.(2)(1:6); A_1_PE_H...
how to plot from .csv file?
T=readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1753899/baseline.csv') ; freq=T.(2)(1:6); A_1_PE_H...
約1ヶ月 前 | 0
回答済み
Multiple text entries over plots
You can use the text to add the strings. You need to specify the position where you want to place the string. You may find centr...
Multiple text entries over plots
You can use the text to add the strings. You need to specify the position where you want to place the string. You may find centr...
約1ヶ月 前 | 1
| 採用済み
回答済み
How to Extract photos at Each frame from a Video in MATLAB?
vidObj = VideoReader('C:\Users\Public\Videos\Sample Videos\Wildlife.wmv'); numFrames = 0; while hasFrame(vidObj) F = read...
How to Extract photos at Each frame from a Video in MATLAB?
vidObj = VideoReader('C:\Users\Public\Videos\Sample Videos\Wildlife.wmv'); numFrames = 0; while hasFrame(vidObj) F = read...
約2ヶ月 前 | 0
回答済み
Interpolation of two-dimensional within a given space window
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1744881/Points.txt'); x = T.(1) ; y = T.(2) ; z ...
Interpolation of two-dimensional within a given space window
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1744881/Points.txt'); x = T.(1) ; y = T.(2) ; z ...
約2ヶ月 前 | 0
回答済み
copping grayscale image and remove any other borders or details
Read about imcrop. [I,rect] = imcrop(myimage) ;
copping grayscale image and remove any other borders or details
Read about imcrop. [I,rect] = imcrop(myimage) ;
約2ヶ月 前 | 0
回答済み
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...
2ヶ月 前 | 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...
2ヶ月 前 | 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...
3ヶ月 前 | 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...
4ヶ月 前 | 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
5ヶ月 前 | 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.
5ヶ月 前 | 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...
5ヶ月 前 | 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...
5ヶ月 前 | 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') ;...
5ヶ月 前 | 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 ;
5ヶ月 前 | 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...
6ヶ月 前 | 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)
6ヶ月 前 | 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 ; ...
6ヶ月 前 | 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(...
6ヶ月 前 | 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...
6ヶ月 前 | 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
6ヶ月 前 | 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...
6ヶ月 前 | 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)) ; ...
6ヶ月 前 | 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. ...
6ヶ月 前 | 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)+(...
7ヶ月 前 | 0
| 採用済み