Community Profile

photo

KSSV


Last seen: Today

8.181 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
plotting using for loop
You need not to use a loop to get what you want. Already you are using .* i.e. eleemnt by element operation so , you can proceed...

alrededor de 3 horas ago | 0

Answered
How to plot summation equation
You need to proceed like below: n = 1000 ; % you can change it if you want % define your constant values below k = 1 ; ...

alrededor de 3 horas ago | 0

Answered
As shown in the picture,how to fit discrete points to a closed curve?
Your points are no tin an order....first make them into an order using boundary. load data1.mat ; x = data1(:,1) ; y = data1...

alrededor de 4 horas ago | 0

| accepted

Answered
Plotting 3 outputs on the same graph
Run a loop and save it into a matrix and plot at the end. %% Part 7 clc; clear; close; Ur_M=53; m1=Ur_M/12.33; m2=Ur_M/12.33...

alrededor de 4 horas ago | 1

| accepted

Answered
How to plot a surf-plot without data extrapoation?
You have the black line in hand.. make a closed polygon out of it and get the indices of the points lying inside and outside usi...

alrededor de 5 horas ago | 0

Answered
how to i check if matrix cotaining logical 1
A = [1 0 0]; B = logical(A) ; if any(B); disp('super') else disp('not good') end

alrededor de 16 horas ago | 0

| accepted

Answered
Matrix dimensions must agree spread spectrum code
The error is simple...you need to check the dimensions of your variables spreaded_sig and carrier. To use element by element mul...

alrededor de 16 horas ago | 0

Answered
How do i plot matrix in spectogram
You can use pcolor, imagesc. Read about pcolor.

alrededor de 16 horas ago | 0

Answered
plot an arc between two points
First get the radius of sphere....I hope center is (0,0,0). To get radius use:

alrededor de 17 horas ago | 0

Answered
How to get ones out of matrix
a = [0 1 1 0] ; idx = find(a==1)

alrededor de 17 horas ago | 0

| accepted

Answered
How to plot non equally spaced data in an equally spaced fashion and lable Xaxis with the data
Read about interp1. USe interpolation and make the data even. Let F, T be your column data. m = length(F) ; Fi = linspace(mi...

alrededor de 20 horas ago | 0

Answered
Determining where y = 0
Try this: syms f(x) f(x) = x.*(cos(x.^2)) - exp(sqrt(x)) + x.^3 - 4*(x.^2); Df = diff(f,x); y = subs(Df,x,0:0.001:4) ; % th...

alrededor de 22 horas ago | 0

| accepted

Answered
Plotting zero vectors in quiver3
%% set up mesh Xvc=(-5:2:5)'; Yvc=(-5:2:5)'; Zvc=(-5:2:5)'; [X,Y,Z]=meshgrid(Xvc, Yvc, Zvc); %% plot V Vx=-Y; % ...

1 día ago | 1

| accepted

Answered
Left-most root Bisection method
You can refer the math here: https://www.mathwarehouse.com/calculus/continuity/continuity-bisection-method.php https://www.you...

1 día ago | 0

| accepted

Answered
interpolate a matrix to fill NaN values.
Read about fillmissing. Or use interp1 as shown: clc; clear all ; T = [13.5047428571429 13.2392558823529 NaN 14.0492333333333...

1 día ago | 0

| accepted

Answered
Separate row indices of a Matrix in two groups
pilot_loc= (1:N:256); % N is a variable. data_loc = setdiff(1:256,polot_loc) ;

1 día ago | 1

| accepted

Answered
How to use result from first iteration from one equation and use it on other equation?
Check the below. Check the code, I have not checked it thoroughly. But you can follow the methid like shown. I have used anonymo...

1 día ago | 0

| accepted

Answered
does plotting work on large no of values
Why it will not work? First try with less number of points. You ave taken a huge number of points. clc; clear all ; m = 100 ;...

1 día ago | 0

| accepted

Answered
Index exceeds the number of array elements (0).
As you are expecting the angle to be in degrees, you have to use sind, cosd. If you enter the angles in radians, then use sin, c...

2 días ago | 1

Answered
Find the mean value of a signal
If you have an array a, use mean(a). a = rand(1,100) ; plot(a) ; a_avg = mean(a)

2 días ago | 0

Answered
Adding matrix values into a string
a=[1 2 3 4 5 6 7 8 9] ; str = char(a+'0')

2 días ago | 0

| accepted

Answered
Figure but no plot
You have not defined f in your code...you need to define f and then call plot...something like this: diffmax=100 x=0:0.1:dif...

2 días ago | 0

Answered
correlation and visualisation of data
The corellation is a single number...to get it you can use xcorr. If you insist on plotting have a look on plotregression. If ...

2 días ago | 0

Answered
concatination rows of matrix for making a new matrix
% Data for demo A = [0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 ...

2 días ago | 1

Answered
plotting percentage of a max value
You may get multiple values for this case. [val,idx] = max(y) ; y1 = val*5/100 ; % Increase the reoslution of (x,y) data ...

2 días ago | 0

Answered
Brace indexing is not supported for variables of this type.
% List all CSV files fnames = dir('*.csv'); % Pre-allocate output vector ranges = zeros(numel(fnames), 1); % Loop over file ...

2 días ago | 1

Answered
Too Many Input Arguments
The function takes 15 inputs and you are giving 16 inputs. Please check. I feel the first input ua(j,i) is extra.

2 días ago | 0

| accepted

Answered
How do I calculate distances between multiple points on a map using a loop.
If (x,y) are your column data. To get the distance between successive points use: dx = diff(x) ; dy = diff(y) ; d = sqrt(dx.^2...

3 días ago | 0

Answered
Finding different values of a matrix in a single loop
Read about ismember. A = [ 4 5 2 8 3 4 5 6 1 3 2 4 2 7] ; ...

3 días ago | 0

Answered
Selecting either 1) a range of values from a plot or 2) selecting values from column / row value range or 3) both
To select x-values lying in the range 0.1 and 10. use: idx = x > 0.1 & x < 10 ; xi = x(idx) ; To get the respective y va...

3 días ago | 0

Load more