Community Profile

photo

KSSV


Last seen: Today

7.944 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
Confusion about elseif statements
The function is fine...there is one typo error..... you should use '=' not '==' function output = findtype(input); [r c] = si...

etwa 19 Stunden ago | 0

Answered
How to find which curve fit best to another curve
To fit a polynomial read about polyfit. For curve fetting read about cftool, fit. To comapre the two curves..use the differenc...

etwa 19 Stunden ago | 0

Answered
how to write name on plotted graph?
Read about legend. p=[123 456 344 333 667 899 565 546 688 998 765 467] T=[30 45 55 66 77 54 32 34 25 70 12 34] m=[1.00 2.00 2...

etwa 19 Stunden ago | 0

Answered
How do I allocate one point only in matrix A to its closest point in matrix B
Read about knnsearch. This function will give you the number points you specified which are close. https://in.mathworks.com/he...

ein Tag ago | 0

Answered
Finding the maximum of a vector using only for loop and the routine length
v = [ 1 5 6 23 43 5 2 5 2 23 53 45 6 3 4] ; n = length(v) ; themax = 0 ; pos = 1 ; for i = 1:n if v(i)> themax ...

ein Tag ago | 0

Answered
Function function/ passing function/ varargin help?
a = 8 ; b = 0.25 ; c = 2 ; n = 180 ; f = @(t) a*exp(-b*t).*sin(t-c); t = linspace(a,b,n); y = f(t); fdiff = ma...

ein Tag ago | 0

Answered
How to use previous points calculated from a function.
You can solve the given equation: R = d2*(t2-t1)/(d1-d2) ; for d2 and solve it to get d2. We have d2 as: d2 = R*d1/(R-t1+t2) ...

ein Tag ago | 0

Answered
How to solve a set of equations with a vector as input
n = 1000 ; P = linspace(0,50,n) ; wm = (P./k).^(1/3); ws = wm / (-1.008); Ir = sqrt(P/(-0.567); % this will be com...

3 Tage ago | 1

| accepted

Answered
In Matlab, after plotting a figure then I select a range of area and replot again
Yes you can very much do it.... If you have limits/ range for x-axis; you can limit your range in the existing plot using xlim,...

3 Tage ago | 0

Answered
y'=1-(y/x), y(2)=-1, change in x =0.5. Im supposed to use Euler method to solve this differential equation but I'm not getting the answer I want. I have the code but I'm not sure if I'm doing it right.
Your x value is not correct: You need to check this line: x = 2:h:1.5; % the range of x In the above you need to make changes....

3 Tage ago | 0

Answered
Breaking a single matrix to multiple matrix.
A = rand(100,3) ; [r,c] = size(A); p = 100/2; % this gives 50 out = permute(reshape(A',[c,r/p,p]),[2,1,3]);

3 Tage ago | 0

| accepted

Answered
can anyone find the error?
Save the function in a folder...and : a = 1 ; b = 2 ; c = 3 ; % define your variables quadratic(a,b,c)

3 Tage ago | 1

Answered
Sorting an array without sort() command
https://in.mathworks.com/matlabcentral/answers/439777-sorting-numbers-in-the-list-without-using-sort-command https://in.mathwo...

3 Tage ago | 0

Answered
Index exceeds the number of array of elements error
clear; clc; max = input('Enter limit for vector: '); askingPrice = input('Enter the asking price: '); n = 1; count1 = 0; %s...

3 Tage ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
Please note that the error is simple...this occurs when you try to save more number of elements than intialized into an array. ...

3 Tage ago | 0

Answered
Drawing an arc between two elements?
L1=[1 3; 1 6] L2=[-2 2; 8 -1] P=InterX(L1,L2); L = [L2(:,1) P L1(:,2)] ; p = polyfit(L(1,:),L(2,:),2) ; xi = lins...

3 Tage ago | 0

| accepted

Answered
Double Interpolation from a table
Vq=interp2(x,y,z',m_dot_exhaust(1),T_avg_rankine(1)) ;

3 Tage ago | 0

| accepted

Answered
calculate surface area from xy coordinates (R2017a)
Let (x,y) be your coordinates.... idx = boundary(x,y) ; bx = x(idx) ; by = y(idx) ; A = polyarea(bx,by) ;

3 Tage ago | 0

Answered
Index exceeds matrix dimensions. Error in LT_03 (line 98)
Note that for your formula given you need not to use loop...you can striaght away use: Fk =(f01+f02+f03+f04+f05+f06+f07+f08+f0...

4 Tage ago | 1

Answered
Locating Row and Column of Min. Value
[row column]=find(x==k,1)

4 Tage ago | 0

Answered
Calculation across rows without FOR LOOP
B = table([1;1;1;1;1;2;2;2;3],[1;2;3;4;5;6;7;8;500]); B.Var3 = zeros(height(B),1); i = [false; B.Var1(1:end-1) == B.Var1(2:end...

4 Tage ago | 0

Answered
plotting 3 variables in figure
First you have to laod the .mat file into MATLAB. For this you can use load. Read abotu this function. To plot, you need to kn...

4 Tage ago | 0

Answered
How do I plot a function in terms of another function?
Try this: a = 0:0.01:alphamax; %prof's work figure(5); clf for i=1:length(a) dt(i) = double(subs(eq1(a(i),z))); % ver...

4 Tage ago | 0

Answered
How to change only one input if needed?
prompt = "Enter number greater than 5 " ; m = input(prompt) ; while m > 5 m = input(prompt) ; end

4 Tage ago | 0

Answered
Sum modified laplacian operator
for p = 2:255 for q = 2:255 % do what you want end end

4 Tage ago | 0

Answered
2-D Truss Analysis
Repalce this line: NodePoly=[x ;y ;z]; with NodePoly=[x y z];

4 Tage ago | 0

Answered
How to display the value of output on plot?
Read about text. With this function, you can specify the string str by providing location (x,y). At this position (x,y) you can ...

4 Tage ago | 0

Answered
Finding the intersec point using InterX?
You should read the documentation/ help given in the InterX function. Your curves/ data points should be such that : L1 = [x11 ...

4 Tage ago | 0

| accepted

Answered
plotting 2 graphs on the same axes
Read about hold on. plot(rand(1,10)) hold on plot(rand(1,10))

4 Tage ago | 1

Answered
how to find values of y for a given x when both are arrays?
Let (x,y) be data you have. And you want to find yi for given xi. For this you have to do interpolation. Read about interp1. yi...

4 Tage ago | 0

| accepted

Load more