# KSSV

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

Professional Interests: Mathematical Computing

**Statistics**

RANK**7**

of 250.107

REPUTATION**21.953**

CONTRIBUTIONS

**19** Questions

**9.833** Answers

ANSWER ACCEPTANCE **
57.89%
**

VOTES RECEIVED**2.651**

RANK**109** of 17.375

REPUTATION**9.674**

AVERAGE RATING**4.60**

CONTRIBUTIONS**30** Files

DOWNLOADS **379**

ALL TIME DOWNLOADS**90287**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How to calculate the area of specific path under the curve?

Read about trapz.

1 dag ago | 0

Create a Matrix from defined variables

c1=440 ; c2=250 ; r1= 50 ; r2=25 ; C=[c1*r1^2, c1*r1*r2, 0; c1*r2*r1, c2+c1*c2^2, -c2; 0, -c2, ...

1 dag ago | 0

| accepted

Can I use my CPU and GPU simultaneously for Numerical Simulation?

DEfault code runs in CPU unless you specify the code to run in GPU. To run code in GPU you need to convert the variable/ stage t...

1 dag ago | 0

How to plot mode shapes from eigen vectors of a cantilever beam.

Read about polyfit. Also have a look on this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/30970-natural-...

1 dag ago | 0

| accepted

i am new to matlab and i want to learn, can anyone help me with this please!!!

https://in.mathworks.com/matlabcentral/answers/305169-what-is-the-code-for-lagrange-interpolating-polynomial-for-a-set-of-given-...

1 dag ago | 0

| accepted

Boundary/polygon around coastline of Greenland

You can get the coastline using the function contour. Read about it. [M,c] = contour(x,y,Z,[0 0]) ; % M has the coordinates yo...

1 dag ago | 0

| accepted

Renaming a Excel file from an array

All_values=values; for i =1:numel(All_values) values=All_values(i) T = table(a{1,i}.time, oo{1,i}.signals.values, pp{...

1 dag ago | 0

Symbolic Expression Error problem !

Proceed with loop. %% Numeric Value Code FFF = rand(8,2); TTT = rand(2,2); FFF = reshape(FFF, 4, 2, []); TTT = reshape(TT...

1 dag ago | 0

| accepted

can anyone help me with this function.. i'm new to matlab and i need this for my research

You have to provide the inputs to the function. It seems you are either calling the function without providing inputs or running...

1 dag ago | 0

function solve return 'Unable to perform assignment because the left and right sides have a different number of elements.'

hs_data = hs_Lderiv./1000; %meter t_data = t; %seconds dh = diff(hs_data); dt = diff(t_data); syms gamma dhdt = zeros(size(...

3 dagen ago | 1

How can I make the loop operation to give only 1 answer for each iteration? Here's my program that i tried out but it keeps giving me more than 2 answer of each iteration.

f=0; while f<0.1 f=f+0.0000001; Re=10^((1/sqrt(f)+0.537)/1.930)/sqrt(f); count = 0 ; for x=25000:-5000:500...

3 dagen ago | 0

Waves mode summation for a string

xs=8; v=3; L=20; ta=0.2; t=1; n=1:1:40; x=0:0.1:20; omga = zeros(1,length(n)) ; F = zeros(1,length(n)) ; u = zeros(le...

3 dagen ago | 0

| accepted

Subs command substituting the values of variables that was earlier define symbolic but when I am using plot command error message came "Non numeric data"

Convert the symbolic class into double using the function double. Read about it.

3 dagen ago | 0

| accepted

how to make a vector z that consists of odd-indexed entries of y (y=[100:1])?

y = 1:2:100

3 dagen ago | 0

Split a vector into 2 vector before and after a value is found

a=[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8] ; val = 0.5 ; idx = find(a==val) ; a1 = a(1:idx-1) a2 = a(idx:end)

4 dagen ago | 0

| accepted

How to convert a .mat file, containing only numeric values, with dimensions of 1000*10, from cell type to double.

Read about cell2mat.

4 dagen ago | 0

How to add two different vectors?

x = 0:1:10000; y = 2*x; z = linspace(0.1,1,length(x)); % make z same size as x, so use linspace x_n = x + z; y_n = 2*...

4 dagen ago | 0

What is wrong in my coding?

clc; clear all ; %%Q1a clear;clc; % Get the span of the beam along with positions of supports l = input('Enter the span ...

4 dagen ago | 0

How to concatenate selected data of two .mat files

Let A, B be your tables. C = A ; C.last = B.(10) ; % instead of last you give your required name

4 dagen ago | 0

Coin toss simulation test

n = 1000 ; % number of tosses H = 0 ; % initialize Head count T = 0 ; % initialize Tails count % loop of toss for i ...

4 dagen ago | 0

| accepted

data of corresponding column

idx = columnA > 600 ; iwant = sum(columnB(idx)) ;

4 dagen ago | 0

How to sort and save the sorted table in app designer?

idx = randperm(10)' ; x = rand(10,1) ; T = table(idx,x) [val,idx] = sort(T.(1)) ; T = T(idx,:)

4 dagen ago | 0

Animation using multiple frames/figures in for loop

frame = 20; % Load density data n = load([Dir '/ne' num2str(frame) '.txt']); %this is my total denisty % Load X and Y data ...

4 dagen ago | 0

| accepted

Calculate the velocity for each time increment using displacement and time using a for loop?

velocity = gradient(displacement)./gradient(time)

4 dagen ago | 1

replace values in a matrix by their histogram bin numbers

[N,E,bins] = histcounts(A) ;

4 dagen ago | 0

| accepted

Where does matrix B fits best in Matrix A

A = 5*ones(8) ; A(4:6,4:6) = [3 4 2; 1 1 1; 2 3 3] ; B = ones(3) ; [m,n] = size(A) ; count = 0 ; v = zeros(3,3,[]) ; R...

5 dagen ago | 0

graph with 2 axes

https://in.mathworks.com/help/matlab/creating_plots/graph-with-multiple-x-axes-and-y-axes.html

5 dagen ago | 0

Heat plot in Matlab

doc heatmap https://in.mathworks.com/help/matlab/ref/heatmap.html

5 dagen ago | 0

| accepted

How does I extract data from netcdf on given lat lon?

You have multiple ways to do it. Load all the data into work space using ncread. And use slice. Read about slice function. F...

5 dagen ago | 0