# KSSV

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

**Programming Languages:**

Python, MATLAB, Fortran

**Spoken Languages:**

English, Hindi, Telugu

**Statistics**

RANK**7**

of 262.630

REPUTATION**24.305**

CONTRIBUTIONS

**19** Questions

**10.718** Answers

ANSWER ACCEPTANCE **
78.95%
**

VOTES RECEIVED**2.968**

RANK**104** of 17.980

REPUTATION**9.918**

AVERAGE RATING**4.60**

CONTRIBUTIONS**30** Files

DOWNLOADS **275**

ALL TIME DOWNLOADS**92624**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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)

circa 7 ore ago | 0

How to remove leading zeros in decimal representation?

A = [23, 15, 256, 75]; B= dec2bin(A) strip(string(B),'left','0')

circa 10 ore ago | 1

| accepted

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...

circa 10 ore ago | 0

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,:) ...

circa 11 ore ago | 0

| accepted

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...

circa 12 ore ago | 0

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...

2 giorni ago | 0

scatteredInterpolant function is providing too much noise in interpolation

Read about griddata. Also explores the methods in these interpolations. Go for the method nearest.

3 giorni ago | 0

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...

3 giorni ago | 0

| accepted

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]) ;

5 giorni ago | 0

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

6 giorni ago | 0

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)

6 giorni ago | 0

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...

6 giorni ago | 0

| accepted

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 ...

7 giorni ago | 1

| accepted

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)...

7 giorni ago | 1

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')

7 giorni ago | 0

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)

7 giorni ago | 0

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,...

7 giorni ago | 0

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...

7 giorni ago | 1

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...

7 giorni ago | 1

| accepted

switch case not recognizing input

user_input=input('Enter the mineral name: ') ; switch user_input case 'magnetite' fprintf('Mineral:Magnetite \n ...

7 giorni ago | 0

| accepted

How to concatenate multiple .mat files and generate a 3D matrix?

matFiles = dir('*.mat') ; N = length(matFiles) ; iwant = zeros(3048,43,N) ; for i = 1:N S = matfile(matFiles(i).name) ...

8 giorni ago | 0

without writing any data, I want to create blank excel file.

T = table ; % create empty table fname = 'test.xlsx' ; % here you can give path as well writetable(T,fname) ; % create ...

8 giorni ago | 0

| accepted

Read multiple excel files

xlFiles = dir('*.xlsx') ; N = length(xlFiles) ; for i = 1:N thisFile = xlFiles(i).name ; T = readtable(thisFile) ; ...

8 giorni ago | 0

| accepted

3D plot of Latitude, Longitude and Depth while the colour of the points represent earthquake magnitude

scatter3(long,lat,Depth,[],Depth,'filled')

9 giorni ago | 0

| accepted

Computing the determinant of a block matrix

A = rand(2) ; B = rand(2) ; C = rand(2) ; D = rand(2) ; M = [A B; C D] ; det(M) det(A)*det(D-C*inv(A)*B) In your case, D...

9 giorni ago | 1

| accepted

find elemets of matrix based on logical conditions

points=readtable('points.txt'); points=table2array(points); x_p=points(:,1); y_p=points(:,2); z_p=points(:,3); t_p=points...

9 giorni ago | 0

| accepted

Fitting bimodal wind data using Weibull mixture in matlab

REad about fitdist

13 giorni ago | 0

| accepted

write data into a file line by line inside foef(fid) loop

I would first read the complete file and then run loop for each line. T = readtable('https://in.mathworks.com/matlabcentral/an...

13 giorni ago | 0