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

Professional Interests: Mathematical Computing

답변 있음

define x and y for interpolation of scattered data

Let A be the matrix, which is of size m*n x = 1:n ; y = 1:m ; [X,Y] = meshgrid(x,y) ; xq = 1:0.5:n ; yq = 1:0.5:m ; ...

define x and y for interpolation of scattered data

Let A be the matrix, which is of size m*n x = 1:n ; y = 1:m ; [X,Y] = meshgrid(x,y) ; xq = 1:0.5:n ; yq = 1:0.5:m ; ...

약 4시간 전 | 0

답변 있음

How can I save data in a multidimensional array

As you have Table T in your hand. You have what you want in hand already. You can access your required array suing. T.Vego ...

How can I save data in a multidimensional array

As you have Table T in your hand. You have what you want in hand already. You can access your required array suing. T.Vego ...

약 4시간 전 | 0

답변 있음

using a vector to represent three coefficients.

function [quadRoots,disc] = Q1_19000046(coeff) %[quadRoots,disc] = Q1_19000046(coeff); %Compute quadRoots and disc of quadrati...

using a vector to represent three coefficients.

function [quadRoots,disc] = Q1_19000046(coeff) %[quadRoots,disc] = Q1_19000046(coeff); %Compute quadRoots and disc of quadrati...

약 4시간 전 | 0

답변 있음

Getting the max value of a certain column, fetching the entire row from a 3D matrix and write those in a new matrix

A = rand(68,8,30) ; % randmom data for demo col = 3 ; % third column from which max to be seeked [m,n,p] =size(A) ; ...

Getting the max value of a certain column, fetching the entire row from a 3D matrix and write those in a new matrix

A = rand(68,8,30) ; % randmom data for demo col = 3 ; % third column from which max to be seeked [m,n,p] =size(A) ; ...

약 5시간 전 | 0

답변 있음

How to smooth out a surf plot

surf(z_vec, v2in_vec, all_v2.') Increase the dimensions of z_vec and v2in_vec. Make the difference/ step size small to increase...

How to smooth out a surf plot

surf(z_vec, v2in_vec, all_v2.') Increase the dimensions of z_vec and v2in_vec. Make the difference/ step size small to increase...

약 5시간 전 | 0

답변 있음

Classification learner app input issue

Two options: Merge all the csv files into single csv file and load the data through csv file. Load each file data into works...

Classification learner app input issue

Two options: Merge all the csv files into single csv file and load the data through csv file. Load each file data into works...

약 5시간 전 | 0

답변 있음

How to make visualization of multi-vehicle motion?

Use interpolation and get all the vehicles to the same time vector. Read about interp1. When you do this, your position of each ...

How to make visualization of multi-vehicle motion?

Use interpolation and get all the vehicles to the same time vector. Read about interp1. When you do this, your position of each ...

3일 전 | 0

답변 있음

How to sum columns of a matrix in MATLAB in specified number of columns?

A = rand(2500,500) ; B = reshape(A,2500,10,[]) ; iwant = squeeze(B,2) ;

How to sum columns of a matrix in MATLAB in specified number of columns?

A = rand(2500,500) ; B = reshape(A,2500,10,[]) ; iwant = squeeze(B,2) ;

3일 전 | 0

답변 있음

How to make every element in the form of isoparametric, Lagrangian quadratic element?

nodes = [nodes(:,1) nodes(:,5) nodes(:,2) nodes(:,6) nodes(:,3) nodes(:,7) nodes(:,4) nodes(:,8) nodes(:,9)] ;

How to make every element in the form of isoparametric, Lagrangian quadratic element?

nodes = [nodes(:,1) nodes(:,5) nodes(:,2) nodes(:,6) nodes(:,3) nodes(:,7) nodes(:,4) nodes(:,8) nodes(:,9)] ;

3일 전 | 0

답변 있음

Obtaining the pixel values within an ROI

As you have the coordinates for the boundary, use inpolygon and get the locations of the points lying inside the clsoed region.....

Obtaining the pixel values within an ROI

As you have the coordinates for the boundary, use inpolygon and get the locations of the points lying inside the clsoed region.....

3일 전 | 0

답변 있음

How to use a shapefile to extract regions outside the shapefile?

Read the shape file using shaperead. This has single/ multiple regions. Pick one closed region fromt he shape file Take the ...

How to use a shapefile to extract regions outside the shapefile?

Read the shape file using shaperead. This has single/ multiple regions. Pick one closed region fromt he shape file Take the ...

10일 전 | 0

답변 있음

Choose n points randomly from a circle, how to calculate the probability that all the points are in one semicircle?

% Generate circle r = 1. ; % radius th = linspace(0,2*pi) ; x = r*cos(th) ; y = r*sin(th) ; % Geenrate random points...

Choose n points randomly from a circle, how to calculate the probability that all the points are in one semicircle?

% Generate circle r = 1. ; % radius th = linspace(0,2*pi) ; x = r*cos(th) ; y = r*sin(th) ; % Geenrate random points...

10일 전 | 0

답변 있음

Generate (X,Y) grid coordinates from within contour boundary

Use boundary to get the boundary of your required region. Use inpolygon with the generated grid and boundary points to get the...

Generate (X,Y) grid coordinates from within contour boundary

Use boundary to get the boundary of your required region. Use inpolygon with the generated grid and boundary points to get the...

10일 전 | 0

| 수락됨

답변 있음

I want to read image name to be an string

imgNames = dir('*.jpg') ; N = length(imgNames) ; for i = 1:N img = imgNames(i).name end

I want to read image name to be an string

imgNames = dir('*.jpg') ; N = length(imgNames) ; for i = 1:N img = imgNames(i).name end

12일 전 | 0

답변 있음

How to draw three graphs together to make a composite figure

C = [0 0 ; 1 0 ; 1 1 ; 0 1 ; 0 0 ] ; A = [0 1 ; 0 1.25 ; 1 1.25 ; 1 1 ; 0 1] ; B = [1 0 ; 1 1 ; 1.25 1 ; 1.25 0 ; 1 0] ; ...

How to draw three graphs together to make a composite figure

C = [0 0 ; 1 0 ; 1 1 ; 0 1 ; 0 0 ] ; A = [0 1 ; 0 1.25 ; 1 1.25 ; 1 1 ; 0 1] ; B = [1 0 ; 1 1 ; 1.25 1 ; 1.25 0 ; 1 0] ; ...

12일 전 | 1

| 수락됨

답변 있음

Converting output from 'find' into a logical

Read about ind2vec. By the way you can straightaway logical, there is no need to use find.

Converting output from 'find' into a logical

Read about ind2vec. By the way you can straightaway logical, there is no need to use find.

12일 전 | 0

답변 있음

Find the surface area of an object using stereo vision.

After using delaunayTriangulation, you have vertices and nodal connectivity in hand. Then you can use this function to get the a...

Find the surface area of an object using stereo vision.

After using delaunayTriangulation, you have vertices and nodal connectivity in hand. Then you can use this function to get the a...

13일 전 | 0

답변 있음

Is there a way to come up with all the combination between 0 and 1 that sum up to equal 1?

x = 0:1/100:1 ; id = nchoosek(1:length(x),4) ; thesum = sum(x(id),2) ; % find sum == 1 idx = thesum==1 ; iwant = x(id...

Is there a way to come up with all the combination between 0 and 1 that sum up to equal 1?

x = 0:1/100:1 ; id = nchoosek(1:length(x),4) ; thesum = sum(x(id),2) ; % find sum == 1 idx = thesum==1 ; iwant = x(id...

13일 전 | 1

답변 있음

Damping ratio computing from a MATLAB plot

For natural frequency you need to look into fft. Damping ratio can be calculated using logarithamic decrement approach. https:...

Damping ratio computing from a MATLAB plot

For natural frequency you need to look into fft. Damping ratio can be calculated using logarithamic decrement approach. https:...

13일 전 | 0

답변 있음

How to extract data from a cell array?

Already you have the cells in your desired way. You can access them using C{1} , C{2}, C{3} . You need to store them again...

How to extract data from a cell array?

Already you have the cells in your desired way. You can access them using C{1} , C{2}, C{3} . You need to store them again...

14일 전 | 0

| 수락됨

답변 있음

How do I restrict a decimal number to 2 significant decimal places?

Refer for the same discussion: https://in.mathworks.com/matlabcentral/answers/79928-reduce-precision-of-a-number

How do I restrict a decimal number to 2 significant decimal places?

Refer for the same discussion: https://in.mathworks.com/matlabcentral/answers/79928-reduce-precision-of-a-number

14일 전 | 0

답변 있음

how to divide a region into elements where each element is 9 node element in matlab?

You can extend the following to your needs. https://in.mathworks.com/matlabcentral/fileexchange/33731-meshing-a-plate-using-...

how to divide a region into elements where each element is 9 node element in matlab?

You can extend the following to your needs. https://in.mathworks.com/matlabcentral/fileexchange/33731-meshing-a-plate-using-...

14일 전 | 0

| 수락됨

답변 있음

interpolation with non-zero data only when using griddata

Get the boundary of your required region use inpolygon to get the points lying inside and outside the boundary Make the data f...

interpolation with non-zero data only when using griddata

Get the boundary of your required region use inpolygon to get the points lying inside and outside the boundary Make the data f...

14일 전 | 0

| 수락됨

답변 있음

how to solve the nonlinear equatios?

Try this. syms v T p=30;d=1;lamda=0.8;c=10;r=35;h=0.05;chi=200;k=0.02;b=7;a =0.01; w = k*(1-exp(-a*chi)); M=k*a; equation1...

how to solve the nonlinear equatios?

Try this. syms v T p=30;d=1;lamda=0.8;c=10;r=35;h=0.05;chi=200;k=0.02;b=7;a =0.01; w = k*(1-exp(-a*chi)); M=k*a; equation1...

18일 전 | 0

답변 있음

length and width of room is increased by 20 percentage.what percentage has the area increased by

Let l, b be your old length and breadths. l1, b1 be new lengths and breadths l1 = 120/100*l ; b1 = 120/200*b ; A1 = l1*b1...

length and width of room is increased by 20 percentage.what percentage has the area increased by

Let l, b be your old length and breadths. l1, b1 be new lengths and breadths l1 = 120/100*l ; b1 = 120/200*b ; A1 = l1*b1...

18일 전 | 0

답변 있음

help!!! with plot

a=200;b=5;cm=10;cr=3;v=600;k=6;u=0.1;s=0.2;e=2;cp=2;t=1; pr=1:10; r=-(pr*u*(b*cm - a + cp*e*k + b*cp*e*t))./(8*v + 2*b*pr.^2*u...

help!!! with plot

a=200;b=5;cm=10;cr=3;v=600;k=6;u=0.1;s=0.2;e=2;cp=2;t=1; pr=1:10; r=-(pr*u*(b*cm - a + cp*e*k + b*cp*e*t))./(8*v + 2*b*pr.^2*u...

27일 전 | 0

답변 있음

I'm trying to do a Taylor series method for the equation y and compare it to the analytical solution. However, I keep getting a matrix dimension error. any help would be much appreciated.

Using diff reduces the dimension of the array by 1. You check the dimensions of y1, y2, y3, y4..they are of size 1X20, 1X19, 1x1...

I'm trying to do a Taylor series method for the equation y and compare it to the analytical solution. However, I keep getting a matrix dimension error. any help would be much appreciated.

Using diff reduces the dimension of the array by 1. You check the dimensions of y1, y2, y3, y4..they are of size 1X20, 1X19, 1x1...

27일 전 | 0