Community Profile

photo

KSSV


Last seen: Today

7 410 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
How to find the power of a matrix?
A=A/10^5 ; A = A.^2 ;

ungefär 15 timmar ago | 0

Answered
How to find convolution of three functions.
Read about conv2. s1 = conv2(conv2(f1,f2),f3) s2 = conv2(conv2(f2,f3),f1) s3 = conv2(conv2(f1,f3),f2) All the abve three a...

ungefär 17 timmar ago | 0

| accepted

Answered
Error using sym/subsindex
Initialize the cell first. Q =cell(length(a),length(ttt)) ; % initialize USe this in the loop. Q{i,j} = %% your formul...

en dag ago | 0

Answered
How to cut area or some part of image ?
How about using this? https://www.mathworks.com/help/images/ref/imfreehand.html

en dag ago | 0

Answered
How to avoid patch color being included in legend ?
clc; clear all; close all; x = linspace(-10,10,200); y = sin(4*x); y1 = sin(x); figure; hold on patch([2 5 5 2], [[1 1]...

en dag ago | 1

Answered
Change resolution of .xyz file in matlab
You need to interpolate your data. Read about interp2. Also if you have Z data, you can use imresize. Read about this as well....

2 dagar ago | 0

Answered
Create stl. file with [F,V,N] data
USe this: https://www.mathworks.com/help/matlab/ref/stlwrite.html#d120e1182467

2 dagar ago | 0

Answered
Index exceeds the number of arrays
Try to clear the variables, before using your code. There is no error in your code. It should work. clc; clear all; A = 4; W...

2 dagar ago | 0

| accepted

Answered
Adding Number using for loop
Let A be your n*2 array. t = A(:,1) ; s = A(:,2) ; [C,ia,ib] = unique(t) ; N = length(C) ; iwant = zeros(N,1) ; for ...

2 dagar ago | 0

Answered
peak Value of a spike in graph at a particular time
You reshape your array and use min and max. Read about reshape, min, max.

2 dagar ago | 0

Answered
dynamic allocation of arrays
You can initiate it to a cell. resultPolygon = cell(720,1); for i = 1:720 newShaper = homogeneousTransformMatrix(phi(i))...

3 dagar ago | 0

| accepted

Answered
How can I save multiple matrix and index them?
txtFiles = dir("*.txt") ; N = length(txtFiles) ; themax = zeros(N,1) ; % loop for each file for i = 1:N data = import...

3 dagar ago | 0

Answered
Crop out a section of the image in imshow, how?
Read about imcrop. Let I be your image. rect = [234 355 (1678-234) (764-355)] iwant = imcrop(I,rect) imshow(iwant)

3 dagar ago | 0

| accepted

Answered
Plot multiples time series
Let A be your 365*40 data. Multiple options. plot(A) The above options plots 40 curves in one graph. It will be confusing. ...

3 dagar ago | 0

Answered
Removing Missing Data from Corresponding Matrix
POCtotal(index,:)=[];

4 dagar ago | 0

| accepted

Answered
Draw the trail of a moving marker on an animated 2D plot
A = rand(1800,1); B = rand(1800,1); % I'm just using dummy values here but my actual program has similar outputs (1800 x 1 dou...

4 dagar ago | 1

| accepted

Answered
Adding zeros to matrix
Let A be your 100*100 matrix. B = zeros(300) ; B(1:100,1:100) = A ;

4 dagar ago | 1

Answered
Obtain the mean angle (circle mean of a file)
num = xlsread(myfile) ; % better use readtable iwant = mean(num,2) ;

4 dagar ago | 0

Answered
How do I turn of thr grid of a surface but keep the edge line on?
[X,Y] = meshgrid(1:10) ; Z = sqrt(X.^2+Y.^2) ; % plot the outer line X1 = X ; X1(2:end-1,2:end-1) = NaN ; Y1 = Y ; Y1(...

5 dagar ago | 0

| accepted

Answered
Just want to learn how to better
Read about imread, imshow, title.

5 dagar ago | 0

Answered
How do I subplot multiple tiles that I divided from a satellite image in one figure?
count = 0 ; for m=1:16 for n=1:16 count = count+1 ; subplot(16,16,count); imshow(tiles{m,n}); ...

5 dagar ago | 1

Answered
Changing the color of a 3D plot
This command: h = plot( fitresult); You specify a marker/ different color for both the functions. h = plot( fitresult,'b'); ...

5 dagar ago | 0

Answered
Select points inside a polygon
You can use the previous questions answer..with a slight change while saving the points. clc; clear all ; load("polygon1_x.ma...

5 dagar ago | 1

Answered
Velocity potential with quiver command
You should use gradient. [u,v] = gradient(StreamFunction) ; quiver(x,y,u,v)

5 dagar ago | 0

Answered
Plot a box around set of points
This question can be solved from your previous question which was answered. If (x,y) is your point and you want points around ...

5 dagar ago | 2

| accepted

Answered
how can i plot positive magnitude only of a sine wave
% get the index of only positive values idx = DC_Voltage>=0 ; plot(DC_Voltage(idx))

5 dagar ago | 1

Answered
i was writing a equation but this always have an error and i cant run it
You should first define the constants and then type the formula. T= 1000; L=10; W=100; S=100000; %% this is tha value of ...

5 dagar ago | 1

| accepted

Answered
Create a box around points and use in inpolygon
load("polygon1_x.mat") ; load("polygon1_y.mat") ; load("lon.mat") ; load("lat.mat") ; % remove Nan's from the data xv ...

5 dagar ago | 1

| accepted

Answered
How to use ginput to determine the coordinates of an image
You have dimensions of each image...say dimensions of each image [m,n,3]. Initiate a matrix idx such that, each quarter has the ...

6 dagar ago | 0

| accepted

Answered
how can i write the code out for this 1-1/2+1/3-1/4+1/5-,.....
It is your Home work..you have to do it. Do the following. Read about for loop. Fix the value of n, to run a loop. You can...

7 dagar ago | 0

Load more