Community Profile

photo

KSSV


Last seen: Today

8 482 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
Find how many times a line of code is run
count = 0 ; for j = 1:2:8 count = count+1 ; calcA = calcA+x ; end Check the value of count, it should have run ...

environ 16 heures ago | 0

| accepted

Answered
One dimensional interpolation of a two dimensional matrix
Let A be your 24*365 data matrix. t = (60:60:24*60)' ; ti = (1:1:24*60)' ; B = zeros(1440,365) ; for i = 1:365 B(:,i)...

1 jour ago | 0

Answered
how to use two while and for loops?
if x < 1 statement1 elseif x >= 1 statement2 end

1 jour ago | 0

Answered
join 2 strings together to 1
Read about join, strcat. You can also achieve the same using: str = ['Biegung_35_' ,'Evaluation.txt'] ;

4 jours ago | 0

Answered
Check for missing argument or incorrect argument data type in call to function 'solve'.
syms x1 x2 x3 x4 eqn{1} = 4.4*x1-2.5*x2+19.2*x3-10.8*x4-4.3==0 ; eqn{2} = 5.5*x1-9.3*x2-14.2*x3+13.2*x4-6.8==0 ; eqn{3} = 7.1...

4 jours ago | 1

Answered
roots of non linear periodic function
syms x p = pi/4 ; L = 2 ; eqn = x*L*tan(x*L)-p==0 ; s = vpasolve(eqn,x)

4 jours ago | 0

Answered
12 x 12 matrix
A = rand(12) ; B = A(2:10,2:9)

4 jours ago | 0

| accepted

Answered
Plotting Multiple Functions on the same graph
z = 0:0.001:1; figure hold on for n = 1:5:15 ysin = fsin(z,n); plot(z,ysin) end grid xlabel('z'),ylabel('sin fun...

5 jours ago | 1

| accepted

Answered
Nested For Loop Value Appended to Overall Matrix
lim = 12; count = 0 ; A = zeros([],5) ; for a = 0:lim for b = 0:(lim - a) for c = 0:(lim - a - b) ...

5 jours ago | 0

Answered
How can I use decreasing x-data using findpeaks?
May be you should try: [pks, LOCS] = findpeaks(GlucoseS3{:,1}, GlucoseS3{:,4});

5 jours ago | 0

Answered
Autmating a matlab script
matFiles = dir('*.mat') ; N = length(matFiles) ; for i = 1:N load(matFiles(i).name) ; % you need to see how the varia...

5 jours ago | 1

| accepted

Answered
not getting line in my plot? why
Vc=0.1:0.1:0.5 ; V_tip=180 ; rho=1.225 ; w=180 ; sigma=0.047193 ; Cd_avg=0.01 ; R=2.235 ; Rv=80.529 ; A=pi*R.^2 ; Vh=s...

6 jours ago | 0

Answered
how to use curve fitting without using curve fitting toolbox?
Refer this: https://in.mathworks.com/help/curvefit/curve-fitting.html

6 jours ago | 0

Answered
How to save a sequence of images into a specific folder
ImageFolder ='C:\Users\person\Desktop\ Project\Matlab\Image Saving Test'; for i=1:5 % this loop will take 5 pictures and save t...

6 jours ago | 0

| accepted

Answered
how to write a code second order diffrentiation code in MTLAB
st = -1; inc=0.001; en =1; t=st:inc:en; y= t.^3; x=zeros(1,(length(i)-2)); for i=1:(length(t)-2) x(i)=(y(i+2)-2*y(i+1...

6 jours ago | 0

| accepted

Answered
Element subtraction of same matrix
A = [2,5; 3,8]; B = [2-2, 2-5, 2-3, 2-8; 5-2, 5-5, 5-3, 5-8; 3-2, 3-5, 3-3, 3-8; 8-2, 8-5, 8-3, 8-8]; A1 = A' ; ...

6 jours ago | 2

Answered
Finding the maximum value in a specific row of a matrix
M = [3 6 1 -2; 3 0 -2 -4; 8 -3 5 4; -2 -3 -2 5]; [val1,idx1] = max(M(4,:)) % maximum in the row 4 [val2,idx2] = max(M(:,3))...

6 jours ago | 0

Answered
how to animate two plots at the same time?
Put this line: comet3(xv,yv,zv) %xv yv zv are the values I get from solving the 2-body problem which I didn't include here int...

6 jours ago | 0

| accepted

Answered
index exceeds the number of array elements (1).
This error occurs when you try to extract more number of elements than present in the array. EXample: A = rand(1,10) ; A(1) ...

7 jours ago | 0

| accepted

Answered
Plot will not show lines
x = -0.923 : 0.01 : -0.633 ; f = 16*x.^3 - 13*x.^2 + 12*x + 15 ; g = -7*x.^3 - 6*x.^2 + 4*x - 6 ; plot(x,f, x,g) ylabel('...

7 jours ago | 0

| accepted

Answered
drawing a best fit graph
I = imread('image.png') ; I = rgb2gray(I) ; [y,x] = find(~I) ; % Get center idx = boundary(x,y) ; x = x(idx) ; y = y(id...

7 jours ago | 0

Answered
Find all values between 2 index columns
for i = 1:size(c,1) value = dataset(C(i,1):C(i,2)); end

7 jours ago | 0

| accepted

Answered
I'm trying to create three curves, but my plot is blank
Code looks meaning less though. mi = [2814 1000 19781]; c(1) = 2080; c(2) = 1580; c(3) = 2580; v = c*log(19781/2814); figu...

7 jours ago | 0

| accepted

Answered
How to find the point of intersection of two level curves?
The best function for you: https://www.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections

7 jours ago | 0

Answered
How to plot in command window
If your data is 2D, use plot plot(x0,yo) If your data is 3D use plot3. plot3(xo,yo,r) ; Note that to use plot command x0,y0...

7 jours ago | 0

| accepted

Answered
For loop gives error: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
This error occurs, when you try to save more number of elements than you initialized. Example: A = rand(10,5) ; % initialize ...

7 jours ago | 0

Answered
Delete all values except the max value
A = [3,10,8 4,8,1] ; [val,id] = max(A,[],2) ; idx = A<val ; A(idx) = 0 ; A

7 jours ago | 0

| accepted

Answered
how to get plot with the points increasing with changing color (as points increase their color change from grey to black)
X = repmat((1:5)',1,5) ; Y = rand(5,5) ; plot(X,Y,'.-')

7 jours ago | 0

Answered
I need to fill a column data with a specific value
Let data be your m*2 data. x = data(:,1) ; y = data(:,2) ; y0 = y ; % idx = A your indices which should be nan y(idx) ...

8 jours ago | 1

| accepted

Answered
Features Classification using deep leaning.
Refer: https://in.mathworks.com/help/deeplearning/ug/create-simple-deep-learning-network-for-classification.html

8 jours ago | 0

Load more