https://sites.google.com/site/kolukulasivasrinivas/

Professional Interests: Mathematical Computing

Answered

How to make delaunayTriangulation object from points and connectivity in 3D?

You should use the function triangulation for this. Read about this. https://in.mathworks.com/help/matlab/ref/triangulation.ht...

How to make delaunayTriangulation object from points and connectivity in 3D?

You should use the function triangulation for this. Read about this. https://in.mathworks.com/help/matlab/ref/triangulation.ht...

4 hours ago | 0

Answered

Matrix from for loop displaying vectors of different length

You need to interpolate them to the same size using interp1. clc clear close all [index, sname] = textscan('filenr.lis','%d...

Matrix from for loop displaying vectors of different length

You need to interpolate them to the same size using interp1. clc clear close all [index, sname] = textscan('filenr.lis','%d...

7 hours ago | 0

Answered

Dicretization from countour nodes 2D.

Refer this: https://in.mathworks.com/matlabcentral/fileexchange/40681-transfinite-interpolation https://in.mathworks.com/matla...

Dicretization from countour nodes 2D.

Refer this: https://in.mathworks.com/matlabcentral/fileexchange/40681-transfinite-interpolation https://in.mathworks.com/matla...

7 hours ago | 0

Answered

how to load an HDF5 file in Matlab?

You should not use load to read your file. You have dedicated functions to read HDF5 files. Refer her: https://in.mathworks.com...

how to load an HDF5 file in Matlab?

You should not use load to read your file. You have dedicated functions to read HDF5 files. Refer her: https://in.mathworks.com...

7 hours ago | 0

Answered

Subplot in a for loop with different graphs

for i = 1:5 figure(1) subplot(5,1,i) plot(rand(1,10)) figure(2) subplot(5,1,i) plot(rand(1,10)) endfor

Subplot in a for loop with different graphs

for i = 1:5 figure(1) subplot(5,1,i) plot(rand(1,10)) figure(2) subplot(5,1,i) plot(rand(1,10)) endfor

22 hours ago | 0

Answered

How to solve the matrix K ^ -1 * F where the terms have unknowns?

syms a b c K =[14.8482*a+14.8492*c,-14.8482*a+14.8492*c; -14.8482*a+14.8492*c,14.8482*a+42*b+14.8492*c]; F= [34.641; ...

How to solve the matrix K ^ -1 * F where the terms have unknowns?

syms a b c K =[14.8482*a+14.8492*c,-14.8482*a+14.8492*c; -14.8482*a+14.8492*c,14.8482*a+42*b+14.8492*c]; F= [34.641; ...

22 hours ago | 0

Answered

How to make algorithm using raster file?

To load the data read about load, importdata, textscan. If your raster data matrix is A, to get your formula use: GDDmax = ma...

How to make algorithm using raster file?

To load the data read about load, importdata, textscan. If your raster data matrix is A, to get your formula use: GDDmax = ma...

23 hours ago | 0

Answered

Plotting a pair of linear equations to display a graph showing the solution of a pair of simultaneous equations that my program solves.

Read about input to make the user to enter the results. (I would prefer straight away values) If A is a 2X2 matrix and b is 2*1...

Plotting a pair of linear equations to display a graph showing the solution of a pair of simultaneous equations that my program solves.

Read about input to make the user to enter the results. (I would prefer straight away values) If A is a 2X2 matrix and b is 2*1...

23 hours ago | 1

| accepted

Answered

Someone help me. How to plot for this code to obtain figure?

clc clear all close all zeta0 = 1; h = 2; g = 0.0098; vt=sqrt(g*h); c=1; v=c*vt t1 = 50/v; t2=200/v; t=t1; x = 0...

Someone help me. How to plot for this code to obtain figure?

clc clear all close all zeta0 = 1; h = 2; g = 0.0098; vt=sqrt(g*h); c=1; v=c*vt t1 = 50/v; t2=200/v; t=t1; x = 0...

1 day ago | 1

| accepted

Answered

Substitute for eval function

It is not adivsed to use eval. You can reshape your data into what you want. Check below: DATA_FC = rand(1001,13428) ; % rando...

Substitute for eval function

It is not adivsed to use eval. You can reshape your data into what you want. Check below: DATA_FC = rand(1001,13428) ; % rando...

1 day ago | 0

| accepted

Answered

How do I import multiple .dat files from a folder in Matlab?

datFiles = dir("*.dat"); N = length(datFiles) ; % loop for each file for i = 1:N thisFile = datFiles(i).name ; ...

How do I import multiple .dat files from a folder in Matlab?

datFiles = dir("*.dat"); N = length(datFiles) ; % loop for each file for i = 1:N thisFile = datFiles(i).name ; ...

1 day ago | 0

Answered

About TRMM Data and extraction it for a particular area?

Refer this link: <https://in.mathworks.com/matlabcentral/answers/407463-how-to-subset-the-matrix-array-with-shape-file#accepted_...

About TRMM Data and extraction it for a particular area?

Refer this link: <https://in.mathworks.com/matlabcentral/answers/407463-how-to-subset-the-matrix-array-with-shape-file#accepted_...

1 day ago | 0

Answered

Visualizing values in a matrix

Read about spy clc; clear all ; m = 10 ; A = zeros(m); % introduce random ones id = randperm(m*m,20) ; A(id) = 1 ; [...

Visualizing values in a matrix

Read about spy clc; clear all ; m = 10 ; A = zeros(m); % introduce random ones id = randperm(m*m,20) ; A(id) = 1 ; [...

2 days ago | 0

| accepted

Answered

How to became my Tridiagonal matrix

Read about diag. iwant = diag(1:5)+diag(1:4,-1)+diag(1:4,1) ;

How to became my Tridiagonal matrix

Read about diag. iwant = diag(1:5)+diag(1:4,-1)+diag(1:4,1) ;

2 days ago | 0

Answered

How to insert arrows at the middle of each of the parallel lines

Why annotation for this? You can use quiver. Play around with the below code. clc; clear all ; p = 0.01:.05:1; x =[0;1] ; ...

How to insert arrows at the middle of each of the parallel lines

Why annotation for this? You can use quiver. Play around with the below code. clc; clear all ; p = 0.01:.05:1; x =[0;1] ; ...

2 days ago | 0

Answered

Solving System of Equations - Complex

Try this: kp1 = 2; kp2 = 3; p = 1; syms xco2 xco xo2 xo eqns = [(xo2^(1/2)* p^(1/2)*xco)/xco2 == kp1, (x...

Solving System of Equations - Complex

Try this: kp1 = 2; kp2 = 3; p = 1; syms xco2 xco xo2 xo eqns = [(xo2^(1/2)* p^(1/2)*xco)/xco2 == kp1, (x...

2 days ago | 1

| accepted

Answered

What is the meaning of the Error Mesage "Subscript indices must either be real positive integers or logicals."

In MATLAB the indices of an array always should be positive integers. The indices can be 0,1 if it is og logical type. Example...

What is the meaning of the Error Mesage "Subscript indices must either be real positive integers or logicals."

In MATLAB the indices of an array always should be positive integers. The indices can be 0,1 if it is og logical type. Example...

2 days ago | 0

Answered

coordinates from in the image

Read about ginput, getpts. You can get the points by clocking with mouse, the points you get will be w.r.t to the indices/ dimen...

coordinates from in the image

Read about ginput, getpts. You can get the points by clocking with mouse, the points you get will be w.r.t to the indices/ dimen...

2 days ago | 0

Answered

How to get the sum of the series: 1 + 1/2 + 1/3 + 1/4 + ... + 1/n?

n = 10^5 ; s = 0 ; i = 0 ; while s <= 3 % fix the sum here i = i+1 ; s = s+1/i ; end i

How to get the sum of the series: 1 + 1/2 + 1/3 + 1/4 + ... + 1/n?

n = 10^5 ; s = 0 ; i = 0 ; while s <= 3 % fix the sum here i = i+1 ; s = s+1/i ; end i

3 days ago | 0

Answered

replace [ ] in an array with 0's

You can get all the emtpy functions in a cell using cellfun .. idx = cellfun(@isempty,C) ; % get empty cells in a cell array C ...

replace [ ] in an array with 0's

You can get all the emtpy functions in a cell using cellfun .. idx = cellfun(@isempty,C) ; % get empty cells in a cell array C ...

3 days ago | 1

Answered

transform a matrix with polar coordinates into a matrix with cartesian coordinates

Read about pol2cart. https://in.mathworks.com/help/matlab/ref/pol2cart.html

transform a matrix with polar coordinates into a matrix with cartesian coordinates

Read about pol2cart. https://in.mathworks.com/help/matlab/ref/pol2cart.html

3 days ago | 1

Answered

creating combinations in the rows of two large multi-dimensional (N-by-M) matrices

Read about nchoosek, combnk. combnk will give you indices, and using these indices you can pick the rows.

creating combinations in the rows of two large multi-dimensional (N-by-M) matrices

Read about nchoosek, combnk. combnk will give you indices, and using these indices you can pick the rows.

3 days ago | 0

Answered

How to find radius of curvature?

https://in.mathworks.com/matlabcentral/fileexchange/69452-curvature-of-a-2d-or-3d-curve

How to find radius of curvature?

https://in.mathworks.com/matlabcentral/fileexchange/69452-curvature-of-a-2d-or-3d-curve

4 days ago | 0

Answered

Merge specific text files

% to read files starting with M1 txtFiles = dir("M1*.txt") ; N = length(txtFiles) ; A = zeros(N,4) ; for i = 1:N a =...

Merge specific text files

% to read files starting with M1 txtFiles = dir("M1*.txt") ; N = length(txtFiles) ; A = zeros(N,4) ; for i = 1:N a =...

4 days ago | 0

Answered

Current carrying Capability Program

The problem is very simple and straight forward. If I have a formula d = a*b/c with a, b, c defined to evaluate d, we do: a =...

Current carrying Capability Program

The problem is very simple and straight forward. If I have a formula d = a*b/c with a, b, c defined to evaluate d, we do: a =...

4 days ago | 0

Answered

How to display name along with XY coordinate values in a multiple plot graph in App Designer?

Read about text.

How to display name along with XY coordinate values in a multiple plot graph in App Designer?

Read about text.

4 days ago | 0

Answered

What is the equivalent to MATHCAD's Given-Find

You can try this: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function

What is the equivalent to MATHCAD's Given-Find

You can try this: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function

4 days ago | 0

Answered

Plotting a an equation as function of radius .

t = linspace(pi/2,3*pi/2) ; k = 10 ; r0 = 1000 ; r = r0*exp(t/k) ; % on solving the give equation for r plot(t,r)

Plotting a an equation as function of radius .

t = linspace(pi/2,3*pi/2) ; k = 10 ; r0 = 1000 ; r = r0*exp(t/k) ; % on solving the give equation for r plot(t,r)

6 days ago | 0

Answered

Count number of values within a range in tall array per column and assign count to new matrix

You can achieve this using histogram. Read about histcounts.

Count number of values within a range in tall array per column and assign count to new matrix

You can achieve this using histogram. Read about histcounts.

7 days ago | 1