Community Profile

photo

KSSV


Last seen: Today Active since 2011

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

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • 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 badges

Content Feed

View by

Answered
2D vector plot from three Euler angles
u = cos(theta) ; v = sin(theta) ; quiver(x,y,u,v)

ungefär 21 timmar ago | 0

Answered
how to sort the values of each rows in the cell array
If A is your cell array. B = cellfun(@sort,A,'UniformOutput',false)

ungefär 21 timmar ago | 0

Answered
Anonymous function or for loop?
Off course, you can achieve the same without using anonymous function. t = 0 : 0.1 : 20; c1 = 53; % (0 <= t <= 10) c2 = 6...

ungefär 21 timmar ago | 0

| accepted

Answered
Attempted to access G(2305,1,3); index out of bounds because size(G)=[2304,4096,3
You see the error is clear. You are trying to extracting more number of elements than present in the matrix. Example: A = ran...

ungefär 21 timmar ago | 0

Answered
Loading a random file from a directory
matFiles = dir('*.mat') ; N = length(matFiles) ; thisFile = matFiles(randperm(N,1)).name

ungefär 23 timmar ago | 0

Answered
Anonymous function or for loop?
The second version is a vectorised version and this will be fast compared to loop. Your loop is implemented. You check the f...

ungefär 23 timmar ago | 0

Answered
How can I Draw a Line on a 3D plot?
[X,Y,Z] = peaks(100) ; % DRaw a line at origin x = linspace(-3,3) ; y = repelem(0,1,length(x)) ; z = interp2(X,Y,Z,x,...

en dag ago | 0

Answered
graph wont display on a simple code
As you are plotting a point, you need to use marker. m=input("input mass "); n=0; figure hold on while n<10 P=12.3432...

en dag ago | 0

Answered
How do I solve this equation in MatLab?
Why worry the final answer is same right? syms x eq = 3*sqrt(x^2-4) ; A1 = int(eq,2,3) ; A2 = (9/2)*sqrt(5) - 6*log((3 +...

en dag ago | 0

Answered
I want to ask what wrong with my codes . please help me out
You should not name a variable starting with a number. Variable name should start with a character. Replace the variable 1p =...

en dag ago | 0

Answered
Saving data after each iteration
C_pulse = cell(N,1) ; D_pulse = cell(N,1) ; files = importdata('name_files2.txt'); for i = 1:length(files) [C_pulse{i}, ...

en dag ago | 0

| accepted

Answered
How to extract area using inpolygon
Check your polygon coordinates. They are not up to the mark as shown in the first figure. xv= [104.61, 102.98, 109.37, 109.52];...

en dag ago | 0

| accepted

Answered
time series interpolation of irregular data
data = [ 2012 105683 2013 1108498 2014 1177810 2015 1271872 2016 1351970 2017 1433392 ...

2 dagar ago | 1

| accepted

Answered
how to plot column vs column from csv file using readmatrix?
You need to specify the column which you want. Read about MATLAB indexing. array=readmatrix('data.csv'); plot(array(:,1),ar...

2 dagar ago | 1

| accepted

Answered
What is the problem in my for loops?
function tabulatedata() m = input('Enter m: '); n = input('Enter n: '); p = input('Enter p: '); fprintf('\nColumn 1\Colu...

2 dagar ago | 0

Answered
How to plot longitude, latitude and time on a map
Convert the data into .kml file. And draw on google map.

2 dagar ago | 0

| accepted

Answered
How to extract the features of each cluster in the k means clustering?
If idx are the indices obtained from kmeans. You can plot the data using gscatter. Read about it. If A is your data, you can pic...

2 dagar ago | 0

Answered
how to save values for changing number of columns using "for loop "
r=[10 50 100] ; n = length(r) ; X_telda = cell(n,1) ; for i = 1:n X_telda{i} = (U(:,1:r(i))*(U(:,1:r(i))'*X)); end ...

2 dagar ago | 0

| accepted

Answered
Prod giving a different answer than repeated multiplication
prod gives you element by element multiplication. Check: A = rand(2,2,3) ; X = prod(A,3) ; Y = A(:,:,1).*A(:,:,2).*A(:,:,...

2 dagar ago | 0

| accepted

Answered
looping for a function
This is what you are looking for? [m,n,p] = size(b) ; % b is matrix of size 80x30x400 iwant = zeros(p,2); for i = 1:p ...

2 dagar ago | 0

Answered
How to Calculate The Full Wave Half Maximum.
Let (n.counts) be your data. [max_counts,idx] = max(counts) ; half_max_counts = max_counts/2 ; idx = knnsearch(counts,half...

2 dagar ago | 0

| accepted

Answered
Plot3 interpolation 3D plot
If NaN's are present, it will effetct the interpolation. Fill the NaN's using fillmissing.

2 dagar ago | 0

Answered
convert hours to days on y-axis
A = [1 0 2 0 3 0 4 0.199999999999996 5 0 6 0 7 0 8 0.199999999999996 9 0 10 0 11 0 12 0]; t0 = datetime('10/10/201...

2 dagar ago | 1

Answered
How to find area with trapezoidal method on matlab?
Read about the function trapz.

3 dagar ago | 0

Answered
Creating a grid from a 2D scatter plot of vectors
Let x, y, xvel, yvel be your data. m = 100 ; n = 100; x = linspace(min(x),max(x),m) ; y = linspace(min(y),max(y),n) ; [X,...

3 dagar ago | 1

| accepted

Answered
help with slope field in matlab
Create x, y vectors using linspace Creat X, Y matrices using meshgrid with x, y vectors as input. Substitute X, Y in your for...

3 dagar ago | 0

Answered
Mapping a matrix to another matrix
A=[3;7;8;9;2;10]; B=[4,6;1,2;3,5]; C = A(B)

3 dagar ago | 0

| accepted

Answered
Relationship between (i & j) of a nested for loop and (x & y) coordinates?
It moves from bottom to top and left to right. Check with below: nx = 10 ; ny = 10 ; figure hold on for i = 1:nx for j...

3 dagar ago | 0

| accepted

Answered
Plotting contours in matlab
You have to increase the number of points while using linspace. Now defualt it is 100. n = 500 ; % change this value xv = li...

3 dagar ago | 0

Load more