Community Profile

photo

KSSV


Last seen: Today

8.333 total contributions since 2011

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

Contact

KSSV's Badges

  • 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 details...

Contributions in
View by

Answered
Fitting a parametric function to a dataset
Have a look on this: https://in.mathworks.com/matlabcentral/fileexchange/33610-a-tour-of-parametric-equations

ongeveer 2 uur ago | 0

Answered
How to zero the data points behind the line of figure?
clear all;clc;close all; data = ones(100,200); x = (0:1:size(data,2)-1)*0.1; y =(0:1:size(data,1)-1)*0.1; surf(x,y,data*100)...

ongeveer 2 uur ago | 0

Answered
How can I merge my data set based on the time in MATLAB?
data_1_y_axes=[0,1,3,5,4,6,8,9,7] ; time_1_x_axes=[.02,0.03,.05,.06,.07,0.08,0.09,.1,.2] ; data_2_y_axes=[0,2,4,5,2,7,5,7,5] ;...

3 dagen ago | 0

Answered
transpose loop without operator
A = rand(3) ; [m,n] = size(A) ; B = A ; for i = 1:m for j = 1:n B(i,j) = A(j,i) ; end end

3 dagen ago | 0

Answered
how can ı solve without curve fitting?
Read about polyfit. x=0:5; y=[15, 10, 9, 6, 2, 0]; p = polyfit(x,y,4) ; xi = 0:0.1:5 ; plot(x,y,'or',xi,polyval(p,x...

3 dagen ago | 1

| accepted

Answered
Please, how to plot for this code?
Read about element by element operations. k = -2:0.1:2; g = ((2*cos(2*k))-2)./(1i*k); % use ./ plot(k,abs(g)) hold on pl...

3 dagen ago | 0

| accepted

Answered
Randomly concatenating audio files
N = 10 ; C = cell(N,1) ; % C(2:2:end) = insert your silence audio idx = 1:2:N ; % left indices to insert your required ...

3 dagen ago | 0

Answered
How can I plot a circle use given point?
If you have points.....you can find the radius of circle. It depends on how many points you know. Frame the distance formula a...

3 dagen ago | 0

Answered
For Loop range error
t0 = -0.5 ; % initial time t1 = 50 ; % final time dt = 0.5 ; % time step T = t0:dt:t1 ; % create time vector N = le...

3 dagen ago | 0

Answered
read the first 3 lines of a file and extract variables without reading the rest
fid = fopen('file.txt'); tline = fgetl(fid); val = cell(3,1) ; n = 1 ; val{n} = str2double(regexprep(tline, {'\D*([\d\....

4 dagen ago | 0

Answered
how to plot y(t)
Check the expressions thoroughly....not sure did I enter correct. fs=10; Ts = 1/fs; c = 10; t = -1:0.01:1; b=1...

6 dagen ago | 1

Answered
2D interpolation of scattered data
x = [1 2 3 4 5]; y = [1 2 3 4 5]; z = [1 2 1 2 3; 3 4 3 4 5; 5 6 5 6 7; 3 4 3 4 5; 1 2 1 2 3]; [X,Y] = meshgrid(x,y) ; i...

6 dagen ago | 1

| accepted

Answered
How can i count the number of point in each grid?
Get each box coordinates, this box is a polygon and then use the function inpolygon. Run a loop for each box.

7 dagen ago | 0

Answered
how to plot of a infinite series in 2D
Hints: Define x as an array using linspace after defining min and max value of x. Define t as an array using linspace after d...

8 dagen ago | 0

Answered
How to implement the Fourier series method of heat equation?
You shoul dhave a look on symbolic math toolbox. Rfer this answer: https://in.mathworks.com/matlabcentral/answers/413890-the-ex...

8 dagen ago | 0

Answered
I have encountered a problem and would like to ask everyone to help solve it. The problem to be solved is how to close the following two fitted curves. Thank you very much for your enthusiastic answers.
load dataA.mat %x1=dataA(:,1); %y1=dataA(:,2); f1 = fit(xAbove,yAbove,'smoothingspline','SmoothingParam',0.0001);%smoothingsp...

8 dagen ago | 0

| accepted

Answered
3D figure with different faces color
Read about surf, patch, fill, fill3.

8 dagen ago | 0

Answered
Limit Lines/Plane on a 3D Plot
In 3D your (x,y) points remain same on the line and your z coordinate will vary. You can write a small function for you need. ...

8 dagen ago | 0

Answered
Hello everyone, how do you fit two curves into a closed curve?My code is as follows.
load dataA ; load dataB ; C1 = [xAbove yAbove] ; C2 = [xBelow yBelow] ; % MErge them C = [C1 ;C2] ; idx = boundary(C(:,...

8 dagen ago | 0

Answered
Laplace equation, FEM
This is the book for you: https://www.amazon.in/Finite-Element-Mechanical-Aerospace-Engineering/dp/0849300967

9 dagen ago | 0

| accepted

Answered
Hello everyone, how to divide a piece of data into upper and lower parts along the y-axis with C point and D point as the boundary?
Option 1: You should get the indices of C, D in the given points of curve. Read about knnsearch, this will give indices of point...

9 dagen ago | 0

Answered
How to convert 8 Binary images of size 256 x 256 into a Grayscale image of same size, i.e., 256 x 256?
images = dir('*.tiff'); N = length(images) ; iwant = cell(N,1) ; for i = 1:N iwant{i} = imread(images(i).name) ; ...

11 dagen ago | 0

Answered
How to merge data with latitude and longitude?
latitude = [-3.63965:-0.00449:-8.12601]; longitude = [-37.5098:0.00453:-32.9831]; [matrix_latitude, matrix_longitude] = meshg...

11 dagen ago | 0

Answered
finding last column values
Let A be your 12094*3 matrix and P be your 7*2 matrix. idx = inpolygon(A(:,1),A(:,2),P(:,1),P(:,2)) ; iwant = A(idx,:) ;

11 dagen ago | 1

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values. can anyone help me solve the problem?
T_1=tf(num1(1,:),den1); The above line is ridiculous. Points to note: tf is a scalar whose value is 20. Why indexing? num1 h...

11 dagen ago | 0

| accepted

Answered
Counting Specific Number of Consecutive Values in a Matrix
A = [1 0 0 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 0 1]; % First column x =...

11 dagen ago | 1

Answered
pi approximation using a series
x = 0 ; n = 0 ; while ~(abs(pi-x) <= 10^-4 ) x = x+4*(-1)^n/(2*n+1) ; n = n+1 ; end

12 dagen ago | 0

| accepted

Answered
MATLAB code by using nested loop
Read about for loop. Read about fprintf.

12 dagen ago | 0

Answered
Matlab interpolation between two surfaces
Have a look on slice.

13 dagen ago | 0

Load more