Community Profile # KSSV

Last seen: Today Active since 2011

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

Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

how i can plot orbit of vibration of a rotating shaft with its center
x1=BD(1:10000,1 ) % the vibration vector readings in x direction y1=BD(10001:20000,2) % the vibration vector reading...

en dag ago | 0

How to use quiver correctly?

en dag ago | 1

time series comparison and grouping similarly behaving time series

en dag ago | 1

Plotting a bird using mathematical equation issue.
You need to modify the radius Rk so that, it gives the look. clear; close all; clc; A =@(k) sin((pi*k)./20000); B =@(k) cos((...

2 dagar ago | 0

| accepted

Graph not showing plots
If you want to use loop, you need to use a marker to show up the plot. clear; hold on grid on g=9.8; for m=60:70 y=(14*...

2 dagar ago | 0

Graph not showing plots
clear; g=9.8; m=60:70 y=(14*35)./(m.*g); plot(m,y) grid on

2 dagar ago | 0

How do i determine the highest values of my for loop?
x = 3:0.2:9 ; y=(cos(x+1)./(pi*x-1)); [val,idx] = max(y) ; [x(idx) y(idx)]

2 dagar ago | 0

| accepted

Trying to find the value of z for any value of k
Read about subs. Using this, you can substitute the required value of k. You need to convert the result/ syms call into a number...

2 dagar ago | 0

I want to use between two values while plotting
a=linspace(0,1,50) ; x=linspace(0,1,50) ; [X,Y] = meshgrid(a,x) ; Z=X.^Y; surf(X,Y,Z)

3 dagar ago | 0

| accepted

I want to only run my loop till 22 but it shoud take odd numbers for x_random and even for y_random
for i=1:22 if mod(i,2)==0 P(2,i) = y_random(i); %y coordinate else P(1,i) = x_random(i); %x coordi...

3 dagar ago | 1

| accepted

Remove white space in plot

4 dagar ago | 0

| accepted

How to replace matrix elements by using statements?
It is very simple and straight forward. Consider this example. A = rand(3) ; A(A<0.3) = 0 ; A(A>0.8) = 1 ;

4 dagar ago | 0

| accepted

Extract data along line from gridded data

4 dagar ago | 0

| accepted

Implementing Euler's method for a 1D system
h=0.1; x=-5:h:5; y=zeros(size(x)); y(1)=0; for n=1:length(x)-1 dydx=3*x(n).^2+2*x(n)-12; y(n+1)=y(n)+dydx*h; end ...

4 dagar ago | 0

| accepted

Plot of a butterfly using mathematical equations
Don't use loop...instead use scatter. Read about it. clc; clear all ; clear; close all; clc; sin1 =@(k) sin((pi*k)./40000...

5 dagar ago | 1

| accepted

Scatter points with a colormap based on distances
You can use scatter3. x = rand(10,1) ; y = rand(10,1) ; z = rand(10,1) ; d = rand(10,1) ; scatter3(x,y,z,[],d,'filled') ...

5 dagar ago | 1

| accepted

how to calculate and plot rmse matrix
Let O be your observation data array of size mX1 and M be your model data array of size mx40. O = rand(30,1) ; M = rand(30,40...

5 dagar ago | 0

| accepted

How to use gpu for deep learning
Check the trainingOptions, in there you have option to specify the execution environment. Example: options = trainingOpti...

6 dagar ago | 0

create a function from temperature data

7 dagar ago | 0

Finding the highest mountain peak
[val,idx] = max(Z,[],3) ; Get the maximum along third dimension, idx gives you the thirs index where max occurs. Now find the ...

8 dagar ago | 0

| accepted

How to wrap image along a polygon

8 dagar ago | 0

Find the polar representation of (𝑖 − √3 )
Hint: Use abs to find r. Use atan to find the angle. Use sin, cos to get the polar form. x = r*cos(theta) ; y = r*sin(th...

8 dagar ago | 0

How do I find a maximum within a certain range
Let (x,y) be your data arrays. idx = x>0.1 & x<0.7 ; iwant = max(x(idx)) ;

8 dagar ago | 0

Drawing a boundary box around an image?

8 dagar ago | 0

Pseudorandom character matrix generation
s = {'b', 'd', 'p', 'q' } ; S = cell(10) ; for i = 1:10 for j = 1:10 t = s(randperm(4,4)) ; S{i,...

8 dagar ago | 0

How to interpolate a set of data with the cubic method?
x = [74 29 21 12 8 5.7 4.4 3.6 2.1 1.8 1.5 1.0 0.7]; y = [80 131 189 270 320 407 450 530 620 686 740 900 1095]; yi = linspac...

8 dagar ago | 0

| accepted

comparing two times to find the nearest minute for a specific time

8 dagar ago | 0

Error about preallocating for speed
You need to proceed likt his: % Alpha Fe a = []; T = 25:5:1000 ; nT = length(T) ; a = zeros(nT,1) ; for i = 1:length(T...

9 dagar ago | 0