Community Profile

photo

KSSV


Last seen: Today

7,707 total contributions since 2011

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

Contact

KSSV's Badges

  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 36 Month Streak
  • Master
  • Revival Level 3
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
Assign different symbols to my scatter3 plot.
REad about gscatter. Or You have to assign different markers based on Z and plot.

9 hours ago | 0

Answered
intersection of circle arc and a line
Use this functions: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections

9 hours ago | 0

Answered
How to go through each element of a vector without a for loop
If P is an array of coefficients and x is the value n = length(p)-1 ; iwant = sum(p.*x.^(n:-1:0)) If x is an column array i...

9 hours ago | 0

| accepted

Answered
how to stop overwriting results of a for loop in an array
clear,clc load LAnkle_tracking.mat plot(LAnkle(:,1),LAnkle(:,4),'k.') y=zeros(1,length(LAnkle)); for i=2:length(LAnkle)-1 ...

10 hours ago | 0

Answered
Compare experimental and simulated image to estimate error
Let I1 be your experimental image, I2 be your simulated image. [m,n,p] = size(I1) ; I2_resize = imresize(I2,[m n]) ; dI = ...

11 hours ago | 1

Answered
Element-wise multiplication of a 3D matrix KxLxM by a 1D vector M
Anew = reshape(A,K*L,[]) ; Cnew = Anew.*B' ; Cnew = reshape(Cnew,K,L,[]) ;

12 hours ago | 0

Answered
how to generate 10 random numbers ( 0 to 1)
Read about rand. iwant = rand(1,10)

14 hours ago | 0

Answered
Use inpolygon command for multiple polygon areas
Refer this: https://in.mathworks.com/matlabcentral/answers/592294-data-picking-from-grid?s_tid=srchtitle

16 hours ago | 0

Answered
How can I apply a condition on a culumn?
Let A be your array. idx = A>360 ; A(idx) = A(idx)-360 ; idx = A<360 ; A(idx) = A(idx)+360 ;

16 hours ago | 0

Answered
Index exceeds the number of array elements (1).
Repalce with this the for loop. for i=2:length(x_rec) xhat(i)= d1+d2*x_rec(i-1)+d3*y_rec(i-1)+d4*x_rec(i-1)*y_rec(i-1)+d5...

19 hours ago | 0

| accepted

Answered
elemental subtraction indices of initial vector
A = [1 2 1 2 2 3 4 5] ; T = A-A.' ; x = 0 ; idx = T == x ; % get logical indices [r,c] = ind2sub(size(T),find(idx)) % ge...

20 hours ago | 0

| accepted

Answered
How to plot different matrices in a cell with different marker styles
S = {'-*r', '-ok','-dr','-.b'} ; for i = 1:4 C{i} = rand(10,1) ; end % plot figure hold on for i = 1:4 plot(C{i},S{...

21 hours ago | 0

Answered
Value of time on Zero crossing
https://in.mathworks.com/matlabcentral/answers/267222-easy-way-of-finding-zero-crossing-of-a-function

21 hours ago | 0

Answered
i want to write a code where equation is y=x*x. if y=100 what is the value of x?
z = 100 ; x = 1:20 ; y = x.^2 ; y(x==z)

21 hours ago | 0

Answered
How to save X, Y coordinates from different cells in multiples files
Let SX and SY be your cells. iwant = [ [SX{:}] [SY{:}]] ; Also read about Cell2mat, cat.

1 day ago | 0

Answered
Error using Polyfit: The first two inputs must have the same number of elements. The x can have multiple inputs as columns?
Your x is a m*6 array and y is a m*1..It is not allowed. That is why you got error. Run a loop and use polyfit for each column...

2 days ago | 1

Answered
Plotting multiple 2D metrices
Two options: % If each matrix has two curves figure plot(A') hold on plot(B') % If each matrix has (x,y) coordinates fig...

2 days ago | 1

Answered
Help Needed with looping commands
Just use: E = d(:,1)-c(:,2) ; You need not to use a loop.

2 days ago | 0

Answered
Finding minima in data as well as values near it
Read about min. Let A be your array. [val,idx] = min(A) ; iwant = [A(idx-1) A(idx+1)]

2 days ago | 0

Answered
Resultant curve of two variables
Y = Y1+Y2 ;

2 days ago | 0

Answered
Storing output into a matrix for plotting
I expect rho is bein gused in the lines which are not shown...so repalce rho inside the loop with rho(i). N = 5000; Rmax = 50;...

2 days ago | 1

| accepted

Answered
How to interpolate the matrix A ?
If you want to go ahead with NaN's itself...use intepr2, imresize. If you want to fill NaN's first, then use fillmissing and t...

3 days ago | 0

| accepted

Answered
how can i call and plot function of two variables ?
Define x1 and x2 using linspace. Make x1, x2 matrices, using meshgrid. Make your caclulation. You need to use element by ele...

3 days ago | 1

Answered
image smoothing by a given a high resolution image
Read about interpolation. Check interp2.

3 days ago | 0

Answered
How to plot contour with constraints
Cpe=-0.6; lamdan=0.5; lamdad=0.5952; lamda12=0.84; nd=0.9; n12=0.9; nn=0.7; si1 = linspace(0,1) ; si2 = linspace(0,1) ; ...

3 days ago | 0

Answered
Cant run a function
You must define one function in a single file and save it in the name of the function. function x = rot1(p) % define your for...

3 days ago | 0

| accepted

Answered
Identify polygons enclosing a point in a shapefile
To get the locations/ points lying inside the polygon use inpolygon. To get the intersection points use InterX. https://in.mat...

3 days ago | 0

| accepted

Answered
How to compare an integer to the elements of a vector?
idx = find(u<C) ; idx(1) Read about find, you should have an option of getting first index striaght away.

3 days ago | 0

Answered
I want to sketch one sheeted hyperboloid x^2-y^2+z^2=1 using meshgrid of MATLAB
https://in.mathworks.com/matlabcentral/answers/16688-how-to-draw-a-hyperboloid

3 days ago | 0

Load more