
KSSV
https://sites.google.com/site/kolukulasivasrinivas/ Professional Interests: Mathematical Computing
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu
Professional Interests:
Statistics
RANK
7
of 273 428
REPUTATION
25 419
CONTRIBUTIONS
19 Questions
11 093 Answers
ANSWER ACCEPTANCE
78.95%
VOTES RECEIVED
3 199
RANK
102 of 18 458
REPUTATION
10 145
AVERAGE RATING
4.60
CONTRIBUTIONS
30 Files
DOWNLOADS
446
ALL TIME DOWNLOADS
94862
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Animate a line in polar coordinates
In your case r is comlex number which is not allowed. You need to get r as shown below. theta = 0:0.001:2*pi; R = 1 ; x = R...
ungefär 9 timmar ago | 0
How to discretize the color in contour bar at smallest possible range?
% Make data for demo [X,Y,Z] = peaks ; vals = [0.000 0.005; 0.005 0.009 ; 0.01 0.05 ; 0.05 0.1; ...
3 dagar ago | 0
How to plot the graph for a given signal over a range of frequency
w = [0 pi/8 pi/4 pi/2 pi] ; n = 1 ; x = cos(w*n) ; plot(w,x)
3 dagar ago | 0
How to convert cell char array in Table With Column
You can use regexp to extract the data. load('Data.mat') [m,n] = size(Datawebsite) ; predictedClass = cell(m,1) ; maximum...
4 dagar ago | 0
| accepted
Using masking and native string functions to find the longest word in a string.
str = 'Today is a good day' ; s = strsplit(str) ; L = cellfun(@length,s) ; [val,idx] = max(L) ; longest_string = s{idx} ; f...
5 dagar ago | 0
Maximum perpendicular distance between lines
You have to use the foot of the perpendicular formula. clc; clear all ; x = [120 150 180 210 240 270 300 330 ...
5 dagar ago | 0
Indexing in complex cell arrays
% Make dummy data for demo a = cell(10,1) ; for i = 1:10 m = randsample(5:10,1) ; b = cell(m,1) ; for j = 1:m...
5 dagar ago | 0
Generate a Random Point inside a box/plane
A = [0 0] ; % (p,q) B = [1 1] ; % (x,y) a = 50; b = 100; r = (b-a).*rand(1000,1) + a; x = (B(1)-A(1))*rand(100,1)+A(1) ; ...
5 dagar ago | 0
How to plot This graph in matlab?
I have shown one plot for you reference. You may extend the same to others. x=1.0:0.1:3.0; y=-2.03*10^-3*x.^2+5.76*10^-3*x+1*...
5 dagar ago | 0
Expected a scalar value. This expression has size [:? x 1].
Try this: % Sample Code tol = 10^-3 ; % can be changed idx = find(abs(sample.data1-values)<tol) ; max_index = idx(1) ;
5 dagar ago | 1
| accepted
Fisher Discriminant analysis - issues with classes
You should use: % Compute mean of each class mu = zeros(k,C); % k = 3 i.e. number rows and C is number of classes i.e.5 for...
6 dagar ago | 0
How to check whether point is inside high dimensional convex hull?
This link should help you: https://in.mathworks.com/matlabcentral/answers/101396-is-there-a-function-in-matlab-for-detecting-poi...
6 dagar ago | 0
Extract area of matrices (lat, lon, data) by shapefile. "Requested array exceeds the maximum possible variable size."
You need not to use meshgrid. Already your lon, lat values are in meshgrid. Remove these lines: lat = %MyLat 8000x8192; lon = ...
6 dagar ago | 0
extractin values from a struct that is in a table
rain = data.rain ; iwant = zeros(length(rain),1) ; for i = 1:length(rain) if ~isempty(rain{i}) iwant(i) = rain{...
6 dagar ago | 0
| accepted
How to find first 10 minimum values in a table array?
You can sort the array you want and arrange the other arrays/ table into that order. You can pick the first whatever number you ...
7 dagar ago | 0
How do I plot values taken from a for loop function?
clc B0=-0.00356616 ; %Lapse Rate T0=518.67 ; B=B0 ; %Lapse Rate a=0.1:36089.2 ; %Altutude in ft T...
8 dagar ago | 0
A general question about syntax regarding an Excel file's rows and columns in MATLAB
T = readtable(file,'HeaderLines',1) ; data = table2array(T) ; m = mean(data) [SL: fixed typo]
9 dagar ago | 0
Filling area common to two inequalities?
clc; clear all; E11=0.041057; E12=-0.117734; E21=0.029952; E22=-0.042564; A=[1 -E22/E11]; D0=E11*E22-E12*E21 ; ...
10 dagar ago | 0
Approximate Value Using Taylor Polynomial
syms x f = (sin(x).^2).*(cos(x)) T = taylor(f,x,'order',10) double(subs(T,5))
10 dagar ago | 0
| accepted
Index in position 2 exceeds array bounds. Index must not exceed 1. Error in refPose = data.ActorSpecifications(1,46).Waypoints;
Change this line: refPose = data.ActorSpecifications(1,46).Waypoints; to refPose = data.ActorSpecifications(46,1).Waypoints;
12 dagar ago | 0
reshape help doing PCA when all images contained in one .mat file
Your X data is of size 3240X20, you cannot reshape its each column to size 64X56..because 64X56=3584~=3240. So you need to use y...
13 dagar ago | 0
Loop variable for readtable arguments
txtFiles = dir('*.txt') ; N = length(txtFiles) ; for i = 1:N T = readtable(txtFiles(i).name) end
13 dagar ago | 0
| accepted
3D matrix transpose and dimensioning
% Data for demo A{1,1} = rand(3,3,3) ; A{2,1} = rand(3,3,3) ; A{3,1} = rand(3,3,3) ; A{4,1} = rand(3,3,3) ; A % Conversio...
13 dagar ago | 1
How can I split the excuation of multiple for loops ?
for k = 1:10 for i=1:5 X1(i) = do some calculation X2(i) = do some calculation end en...
13 dagar ago | 0
| accepted
Hello, I've got the problem. Can any one help me with that error?
It looks there is some problem with conditions. Check the conditions. Without the conditions it is working fine. syms x(t) Dx...
14 dagar ago | 0
How to name axes from the script
plot(rand(1,10)) labelx = input('Input Xlabel:') ; labely = input('Input Ylabel:') ; xlabel(labelx) ylabel(labely)
14 dagar ago | 0
how can I calculate A^n when n is a symbolic positive integer?
A = [1/2,1/2,0,0;1/2,0,1/2,0;1/2,0,0,1/2;0,0,0,1] syms n positive integer A.^n
14 dagar ago | 0
Find the minimum and maximum value of internal intervals in an array
clc; clear all ; array = [1 2 3 NaN NaN NaN -1 0 5 NaN 0.25 NaN 5 6 7]; M = array' ; idx = isnan(M); ...
16 dagar ago | 1
Find coordinates of point on original image after using interp2
A=round(rand(10).*10); [nx,ny] = size(A) ; [X,Y] = meshgrid(1:ny,1:nx) ; [x_a,y_a] = meshgrid (linspace(1,10,8),linspace(1...
16 dagar ago | 0