Community Profile

photo

KSSV


Last seen: Today Active since 2011

https://sites.google.com/site/kolukulasivasrinivas/ Professional Interests: Mathematical Computing

Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu

Statistics

All
  • MATLAB Mini Hack 2nd Place
  • Treasure Hunt Participant
  • Most Accepted 2021
  • 36 Month Streak
  • Solver
  • Personal Best Downloads Level 4
  • First Review
  • MATLAB Central Treasure Hunt Finisher
  • 5-Star Galaxy Level 5
  • First Submission
  • Master
  • Revival Level 3

View badges

Content Feed

Answered
How to draw phase portrait
plot(t,xa(:,1)) In the baove use your required index for the column and plot. You can use quiver, if you have vectors. Assumin...

33 Minuten ago | 0

Answered
3D dose plot and color wash
T = readtable('myfile.xlsx') ; scatter3(T.(1),T.(2),T.(3),[],T.(4),'filled')

43 Minuten ago | 0

Answered
I HAVE A KEY WHICH IS 1*16 MATRIX. HOW CAN I DETERMINE IT'S BIT SIZE?
KEY=[0 0 1 0 3 12 8 7 7 8 12 3 0 1 0 0] ; a = single(KEY) ; iwant = whos('a')

etwa eine Stunde ago | 0

Answered
Create a structure of a field in the workspace
You can save them into a matfile and access, as you like. A = 1 ; B = 2; C = 3 ; save Test.mat ; S = matfile('Test.ma...

etwa 3 Stunden ago | 0

Answered
append data to the already existed .txt file horizontally
T1 = readtable('file1.txt') ; T2 = readtable('file2.txt') ; T = [T1 T2] ; writetable(T,'file.txt')

ein Tag ago | 0

Answered
overlap the same data 5 times
Let M be the matrix in your mat file. matFiles = dir('*.mat') ; N = length(matFiles) ; iwant = []; for i = 1:N S = ma...

ein Tag ago | 0

Answered
How to determine an y value at a specific x value?
Read about interp1

4 Tage ago | 0

Answered
How to get the first derivative of pixels along of line?
REad about gradient

4 Tage ago | 0

Answered
How to plot this ellipse
syms s1 s2 t = 0 ; eqn = s1^2-15.156*s1*s2+229.7*s2^2+488.8*t^2+6844000*s2==4.752*10^10 ; fimplicit(eqn,[-600000 200000 -100...

5 Tage ago | 1

Answered
Integrate a polyfit-polyval in matlab, I would appreciate any input. I want to calculate the integral of the sine function from a trend li
%% Integration p2=polyfit(X,Y,4); fun = @(x) p2(1)*x.^4+p2(2)*x.^3+p2(3)*x.^2+p2(4)*x+p2(5) ; % using p2 from polyfit val =...

5 Tage ago | 0

| accepted

Answered
solve equation numerically 1=(1/y)x*exp(x*y)
syms x y f = 1==1/y*x*exp(x*y) solve(f,x) solve(f,y)

6 Tage ago | 0

Answered
How to remove leading zeros in decimal representation?
A = [23, 15, 256, 75]; B= dec2bin(A) strip(string(B),'left','0')

6 Tage ago | 1

| accepted

Answered
I want to select an Excel file by it's extension
%% Here only 1 Excel file will be present in ComparySummary folder. And I want select that Excel file with FilePath %% FilePath...

6 Tage ago | 0

Answered
How to retrieve the specific rows with all the columns in the dataset?
I hope the dataset is in the form of a table. So your table is going to be of size 2832x4. idx = T.Time==1.5 ; T1 = T(idx,:) ...

6 Tage ago | 0

| accepted

Answered
Terrain Elevation Data (Contour - Level Curve)
Load the kml file. This will be your boundary. Load the geotiff file. Make the necessary spatial coordinates using meshgrid U...

6 Tage ago | 0

Answered
How would I detect gray/white pixels in a picture?
REad about find. Gve the pixle value as zero and use find. This will give you the indices. [y,x] = find(I==0) ; % I is gray i...

8 Tage ago | 0

Answered
Average data to every 1, 2, 5, 12 hrs.
Read about retime

8 Tage ago | 0

Answered
scatteredInterpolant function is providing too much noise in interpolation
Read about griddata. Also explores the methods in these interpolations. Go for the method nearest.

9 Tage ago | 0

Answered
Ploting or seeing 3/4D Weather Data NC4 file in MATLAB
pcolor can be worked on only a matrix. You var3 is a 3D matrix. pcolor(var1,var2,var3(:,:,i)) ; % where i = 1,2,.....744 Also...

9 Tage ago | 0

| accepted

Answered
how to crop a size of 25x20 from a image if centre coordinates are known
Let (x,y) be your center pixl locations. iwant = imcrop(I,[x-10 y-10 20 20]) ;

11 Tage ago | 0

Answered
How to plote the stress for each element in the mesh with a color map.
Refer this: https://in.mathworks.com/matlabcentral/fileexchange/32719-postprocessing-in-fem

12 Tage ago | 0

Answered
How to plot this type of function?
t = linspace(-5,5) ; x = exp(t) ; y = 1-exp(-t) ; z = atan2(y,x) ; plot(t,z)

12 Tage ago | 0

Answered
different outputs for same input in every run
%%%%%%%%% rng(1) find_kmeans=kmeans(data(:,1),2); data_2=table(data(:,1),find_kmeans(:)); data_2.Properties.VariableNa...

12 Tage ago | 0

| accepted

Answered
Need help in plotting current and conductance
You need to initialize the arrays before loop for speed and to store the values into an array. NOTE: Check the last values of ...

13 Tage ago | 1

| accepted

Answered
choose the limit of two y axes
x = linspace(0,25); y = sin(x/2); yyaxis left ; plot(x,y,'k'); ax(1) = gca ; r = x.^2/2; yyaxis right plot(x,r); ax(2)...

13 Tage ago | 1

Answered
Can somebody assist me with the Mathlab source code to plot 9x9 grids and place sensors in each grid?
x = 1:9 ; y = 1:9 ; [X,Y] = meshgrid(x,y) ; figure hold on plot(X,Y,'r',X',Y','r',X,Y,'.k')

13 Tage ago | 0

Answered
How do I insert a 1x1 cell array consisting of one vector into a table?
coordinates = [2,2,2,2,2]'; % single row vector T = table(coordinates)

13 Tage ago | 0

Answered
locally weighted least square regresion
t = linspace(0,2*pi) ; y = sin(t) ; p = polyfit(t,y,3) ; xi = linspace(t(1),t(end)) ; yi = polyval(p,xi) ; plot(t,y,'r',xi,...

13 Tage ago | 0

Answered
if condition picking certain day of week
thedates = (datetime(2022,01,1):datetime(2022,1,31))'; d = day(thedates,'name') ; idx = ismember(d,{'Monday','Thursday'}) ; d...

13 Tage ago | 1

Answered
Randomly shuffle folder of images and save it
imgFiles = dir('*.jpg') ; N = length(imgFiles) ; n = randsample(1:10,N) ; % you can out your limits here for i = N I...

13 Tage ago | 1

| accepted

Load more