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
Professional Interests:

Statistics

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

View badges

Content Feed

Answered
Show only two y values in a plot
tol = 10^-3 ; % fix your tolerance idx = abs(wavelength-0.02)<=tol | abs(wavelength-0.04)<=tol ; plot(time(idx),wavelength(...

24 hours ago | 0

Answered
How to identify negative slope from plot data?
t = linspace(0,2*pi) ; y = sin(t) ; m = [0 diff(y)./diff(t)] ; plot(t,y) ; hold on plot(t(m<0),y(m<0),'+r') plot(t(m...

1 day ago | 0

Answered
How to replace 0 value with 3 in Matlab
c5 = Dataset(:,5) ; % Find the number of 0, 1, 2 idx = c5 == 0 | c5 == 1 | c5 == 2 ; % gives logical indices nnz(idx) ...

1 day ago | 0

Answered
How to multiply each term in a n*n matrix with elements in a column matrix
A=[ 0.34005, 1.15985, -1.42862; 0.45204, -0.12963, -0.07851; 0.18586, -0.49792, 0.56187; 0.20188, 0.19786, -0.54699] ; B=[0; 0;...

2 days ago | 0

Answered
I want help solving differential equations
syms x y(x); eqn = diff(y,x)==exp(x)/(2*y) sol = dsolve(eqn)

2 days ago | 0

| accepted

Answered
Which approach is useful here to get a plot?
Check and then use. I have quickly typed it without much thought. n1 = linspace(0,1) ; n2 = linspace(0,1) ; n = cat(3,n1,n2...

2 days ago | 0

| accepted

Answered
image storage with index type 0000
for i = 1:10 name = ['ortophoto_',sprintf('%.4d',i),'.bmp'] end

3 days ago | 0

Answered
How do I make my circle display in pink and background in white color?
[m,n] = deal(500) ; % side of image I = ones(m,n,3) ; % initialize image with white background % GEt cirlce on the image...

5 days ago | 0

| accepted

Answered
Can anyone explain this step:? Contour function
[X,Y,Z] = peaks(50) ; c = contour(X,Y,Z) ; hold on plot(c(1,:),c(2,:),'*r') axis([-3 3 -3 3]) It gives you the (x,y) coord...

7 days ago | 0

Answered
How to extract multiple location data from a netCDF file
To know the variables in ncfile use ncdisp, ncinfo. To load variables from nc to matlab use ncread. To load data from excel ...

8 days ago | 0

Answered
how to solve error using horzcat dimensions of array being concatenated are not consistent
% running function_simulasi clear clc x0 = 0.02; %g/L tspan = (0:2:80); [t, x]=ode23('function_simulasi',tspan,x0); plot(t...

8 days ago | 0

Answered
Generate inner values of y for each x based on n
clc; clear all ; clear all clc n = 4; % number of divisions on the boundary x1 = linspace(0,2,n); y1_x1 = sqrt(1-( (x1.^2)/...

8 days ago | 0

| accepted

Answered
Help for engineering equations
The logic sounds simple. LHS (theta) can be any physical property like critical temperature, critical pressure, boiling point te...

10 days ago | 1

| accepted

Answered
How will change the scale value in the figure?
Read about ylim ylim([0 6*10^6])

11 days ago | 0

| accepted

Answered
Make 3 dimensional matrix
[r,c] = size(val); nlay = 10 ; iwant = permute(reshape(val',[c,r/nlay,nlay]),[2,1,3]);

11 days ago | 0

Answered
I wanna make a .mat file
A = rand(10) ; str = 'The above is matrix' ; save test.mat ; % save A, str into mat file load test.mat ; % load the mat file...

12 days ago | 0

Answered
Basic 'for loop' problem: it stops after several iterations
I don't know why you are doing this, but the elow should work. c = zeros(11); for a = 0:0.1:1 b = 10*a + 1; c (1, f...

12 days ago | 0

Answered
Convert table into 2D matrix
REad about table2array

12 days ago | 0

Answered
How can I read my jpeg file in matlab as .mat file
REad about imread. I = imread(myjpeg) ; save data.mat

12 days ago | 0

| accepted

Answered
How to create a chloropleth map using the mean of the shapefiles sub-fields from a raster file?
https://in.mathworks.com/matlabcentral/answers/407463-how-to-subset-the-matrix-array-with-shape-file https://in.mathworks.com/...

12 days ago | 0

Answered
how to Solve the ordinary differential equation (ODE) in matlab? dx/dt=5x−3
syms x(t) eqn = diff(x,t)==5*x-3; s = dsolve(eqn)

13 days ago | 1

Answered
Matlab Array indixing error
In MATLAB the indices should be posittive integers or logicals. If not it will throw the error which you have shown. % EXample ...

15 days ago | 1

| accepted

Answered
How to assign data to dynamic variable
c = 1:10 ; a = cell(length(c),1) ; for i = 1:length(c) a{i} = 2*[1:i] ; end celldisp(a) You can access cell a by...

15 days ago | 1

| accepted

Answered
Check dates if palindrome
t = datetime(2023,3,20) ; t.Format = 'Mddyy' ; if isPalindrome(char(t)) fprintf('%s is a Palindrome\n',char(t)) end ...

15 days ago | 0

Answered
matlab generated.stl file
https://in.mathworks.com/matlabcentral/fileexchange/4512-surf2stl

15 days ago | 0

Answered
Partial derivative with respect to x^2
syms x y z f= (x^5*y^3+ z^2*x^2+y*x) / (x^3*y+x*y) dfdx = diff(f,x) dfdx2 = diff(dfdx,x)

15 days ago | 0

Answered
How to to interpolate missing data (two peaks) on 3D graph on MATLAB?
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1198108/data2.csv') ; data = table2array(T) ; ...

15 days ago | 0

| accepted

Answered
How to find the y from given x on fit line?
Yes very much it is possible. Read about interp1. Also have a look on polyfit and polyval.

21 days ago | 0

Answered
Area plot matlab colors
figure hold on area(array1,'EdgeColor','none','FaceColor','r'); area(array2,'EdgeColor','none','FaceColor','b'); area(arra...

21 days ago | 0

Load more