KSSV
https://sites.google.com/site/kolukulasivasrinivas/ Professional Interests: Mathematical Computing
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu
Statistik
RANG
7
of 295.467
REPUTATION
26.273
BEITRÄGE
19 Fragen
11.311 Antworten
ANTWORTZUSTIMMUNG
78.95%
ERHALTENE STIMMEN
3.426
RANG
97 of 20.234
REPUTATION
10.788
DURCHSCHNITTLICHE BEWERTUNG
4.60
BEITRÄGE
30 Dateien
DOWNLOADS
278
ALL TIME DOWNLOADS
101138
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
3d plots with attributes of points
Let data be your three columns matrix. x = data(:,1) ; y = data(:,2) ; z = sata(:,3) ; % Plot as unstructured grid dt = d...
2 Tage vor | 0
Print a statement to the Command Window
To display text in the Command Window, use disp or fprintf . disp('job done') or fprintf('job done \n')
10 Tage vor | 21
| akzeptiert
is there a way to automatically label columns with stackedplot with a common name?
You rename the labels of the table to the desired and use stackedplot. A = rand(10,4) ; T = array2table(A) ; stackedplot(T) ...
20 Tage vor | 0
| akzeptiert
How can I plot 2D streamlines on top of a surf plot?
% conc plot first [X,Y,Z] = peaks(100) ; [uX,uY] = gradient(Z) ; figure(1); surf(X,Y,Z); daspect([1 1 1]); shading int...
29 Tage vor | 1
| akzeptiert
How to remove all weird column names from a table and replace them (with numbers or alphabet letters)?
T = readtable(myfile) ; T.Properties.VariableNames = {'1','2','3','4','5','6','7','8'} ; NOTE: The column names on the right...
etwa ein Monat vor | 1
| akzeptiert
Question on surface plotting (beginner)
T = readtable('surface.txt') ; x = T.(1) ; y = T.(2) ; z = T.(3) ; F = scatteredInterpolant(x,y,z) ; dx = 0.1 ; dy = 0.1 ;...
etwa ein Monat vor | 2
| akzeptiert
Help importing and reading .csv file and graphing
T = readtable('myFile.csv') ; figure hold on plot(t,T.(1),'r') plot(t,T.(2),'b') legend('data1','data2') Where t is your d...
etwa 2 Monate vor | 0
Creating a histogram with non-increasing x axis
A = rand(100,1) ; figure h = histogram(A) ; vals = h.Values ; bins = h.BinEdges ; bins = (bins(1:end-1)+bins(2:end))/2 ; ...
2 Monate vor | 1
| akzeptiert
Data Reshape for Contour Plot
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1776380/RawDataCFXPost.xlsx'); [theta,rho,z] = car...
2 Monate vor | 0
| akzeptiert
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")...
2 Monate vor | 0
Vectorize scalar and colon
A = zeros(6,10) ; A(:,1:3) = 1 ; A(4:6,4:5) = 1;
3 Monate vor | 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') ; ...
3 Monate vor | 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...
3 Monate vor | 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...
3 Monate vor | 1
| akzeptiert
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...
4 Monate vor | 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 ...
4 Monate vor | 0
copping grayscale image and remove any other borders or details
Read about imcrop. [I,rect] = imcrop(myimage) ;
4 Monate vor | 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...
5 Monate vor | 0
| akzeptiert
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...
5 Monate vor | 0
| akzeptiert
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...
5 Monate vor | 0
| akzeptiert
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...
7 Monate vor | 0
How to make double array representation as complex array with null imaginary number ?
z = 3+eps*1i
7 Monate vor | 2
| akzeptiert
How can I perform time averaging of a signal acquired with an accelerometer?
Read about smooth, movmean.
7 Monate vor | 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...
7 Monate vor | 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...
7 Monate vor | 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') ;...
7 Monate vor | 0