Community Profile

photo

KSSV


Last seen: Today Active since 2011

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

Statistics

All
  • Treasure Hunt Participant
  • MATLAB Central Treasure Hunt Finisher
  • 36 Month Streak
  • Master
  • Solver
  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 3
  • Thankful Level 2
  • Knowledgeable Level 4

View badges

Content Feed

Answered
How to read the desired coordinates from this image and find the coordinates with the highest value
You have plotted this image with the coordinates in hand. USe max function to get the maximum value. Read about function max. ...

3 hours ago | 0

Answered
How do I plot and return the values of multiple intersections between a function and zero?
You can consider using this: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections

5 hours ago | 0

Answered
find minimum from cell array with empty cells
T = readtable('my_excel.xlsx') ; [val,idx] = min(T.(2)) ; % get minimum from col2 iwant = T.(1)(idx) ; % get the value I...

6 hours ago | 0

Answered
I have matrix A and I need to find (e^(At)) where t is the sampling time. How to find that? Also what is the difference between exp(A) and expm(A)?
A = rand(2) ; t = linspace(0,1) ; iwant = zeros(2,2,100) ; for i = 1:100 iwant(:,:,i) = exp(A*(t(i))) ; end exp might ...

6 hours ago | 0

Answered
how to visualize a data with lon, lat and time array
file = 'EDGAR_HTAP_emi_NOx_2010.0.1x0.1.nc' ; x = ncread(file,'lon'); y = ncread(file,'lat'); Z = ncread(file,'emis_tot') ;...

8 hours ago | 1

Answered
How do i find max value between 1 and 13 column of 1001 columns.
x = rand(1,1001) ; y = reshape(x,[],13) ; % reshape iwant = max(y,[],2) ; % get max

8 hours ago | 0

Answered
Running time Average of column values
If A is your column array. iwant = cumsum(A)./(1:numel(A))

1 day ago | 1

Answered
Interpolation of 3 dimensional values from a excel file
Read about interp2. T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/771628/excel%20table.xlsx') ; ...

1 day ago | 0

| accepted

Answered
How can I run the calculation of one equation through a range of variables in one loop
You can proceed something like below. No need to use loops. i = 1; S_T = 0:3:60 ; TS_T =(deg2rad(S_T));%incline in Radia...

1 day ago | 0

Answered
Alternative way of defining a variable
a = zeros([],1) ; b =[] ; But it depends. What is the requirement?

1 day ago | 0

Answered
How to strrep only certain strings
x = {'e-.00085';'8.5e-4'}; y = strrep(x,'e','')

2 days ago | 0

Answered
Sorting cell array based on distance
Read about knnsearch. This will give you the nearest points from a set points for a given point. This will work for you.

2 days ago | 0

| accepted

Answered
How to get a square matrix out of a augmented matrix?
n = 5 ; A = rand(n) ; % square matrix B = eye(size(A)) ; % Identity matrix Ag = [A B] ; % augemented matrix

2 days ago | 0

Answered
How to find yield point and plot strain hardening part?
file = 'https://in.mathworks.com/matlabcentral/answers/uploaded_files/770221/highstrain.csv' ; T = readtable(file) ; x = T.X ...

2 days ago | 0

| accepted

Answered
How can I get the sea ice concentration data corresponding to the latitude and longitude from the geotiff file?
filename = 'N_20180101_concentration_v3.0.tif' ; [A,R] = readgeoraster(filename) ; % If not try geotiffread [m,n] = size(...

2 days ago | 0

| accepted

Answered
Movie function with subplots: error "Unrecognized method, property..."
Try replacing the line: [h, w, p] = size(f(1).cdata); % use 1st frame to get dimensions with [h, w, p] = size(M(1).cdata);

2 days ago | 0

| accepted

Answered
Plot of a Time Variable
As you have data every second, you need to do hourly mean to get 24 values. You have two options. Reshape the data into 24*m; ...

2 days ago | 0

Answered
How can I specify maximum and minimum of a parameter inside a loop
minC = 0; maxC = 0; for i=1:50 A(i)=f(i); B(i)=f(A); C(i)=F(B); if C > maxC maxC = C ; ...

3 days ago | 0

Answered
plot a table of two columns
If T is your table. To plot use: plot(T.(1),T.(2))

3 days ago | 1

| accepted

Answered
Write function that returns true if (inputmatrix > 0)
A = rand(5) ; P = A > 0.5

3 days ago | 0

Answered
Why isn't the plot showing up? (new on programing)
x = linspace(-10,10,100); y = @(x) (x.^2 + x.^2 + 3.*x)./(x.^2 + 4.*x + 5); % element by elememnt division plot(x,y(x),'r','L...

3 days ago | 0

| accepted

Answered
How to get the centerline of a binary region
You can get the indices of white pixels using find and to the data you can try fitting a line or quadratic equation using polyfi...

3 days ago | 3

Answered
Transforming 4 sets of 1x4 matrix into a 4x4 matrix
zetaliq=zeros(4); for j=1:4 zetaliq(j,:)=(pi/6).*rholiq.*(X1.*m1.*d1^(j-1)+X2.*m2.*d2^(j-1)) ; end zetaliq

3 days ago | 0

| accepted

Answered
Grouping data into bins and then plotting them
You can calculate the every three hours mean using the fuction retime. Read about it. To see the variation of every hours, stria...

3 days ago | 0

| accepted

Answered
How to delete some of anonymous variables randomly?
Multiply each variable with a constant array, and assign this contant array with 0 and 1. See to it that, randomly only three 1'...

3 days ago | 0

Answered
Array indices must be positive integers or logical values.
%Euler Method %parameters g=9.81; rho=1.2; s=0.00011; m=0.023; Cd=0.9; %Initial Condition V0=0; V=zeros([],1); %I...

4 days ago | 1

| accepted

Answered
how can I find the maximum value of a parameter running within a loop
maxC = 0 ; for i=1:100 A=f(i) ; B=f(A,i) ; C=f(B,i) ; if C > maxC maxC = C ; Amax = A ;...

4 days ago | 0

| accepted

Answered
make a matrix out of list
Read about importdata. You can import the data into MATLAB, the data will be a cell array. S = importdata('myfile.txt') ; cel...

4 days ago | 0

Answered
How could I write in a vector something in a position different to a given one?
v = [1,2,3,4,5]; idx = 3; iwant = NaN(size(v)) ; iwant(idx) = v(idx)

5 days ago | 1

Answered
How to store data when a string condition of another column is met?
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/768171/SED_FULL_NE.xlsx') ; id = [1 4 12] ; T =...

5 days ago | 0

Load more