Community Profile

photo

KSSV


Last seen: Today

8.614 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
different excel file comparisons
T1 = readtable(file1) ; T2 = readtable(file2) ; idx = ismember(T1.names, T2.names)

alrededor de 4 horas ago | 1

Answered
insert markers to an image
Use imshow to show up a image. Use plot or scatter with given coordinates and required markers. Note that you need to use hold o...

alrededor de 4 horas ago | 0

Answered
How to plot a workspace
Let A be your workspace variable of size 26*2. x = A(:,1) ; y = A(:,2) ; plot(x,y) REad about the function plot.

alrededor de 8 horas ago | 0

Answered
Matlab error, Z must be a matrix, not a scalar or vecto
r= 5; theta= 60 ; ro=5; w1=200; w2=300; t=0:1:60; dt=diff(t); dt = unique(dt) ; x=ro*cos(w1.*t)+r.*cos(theta+(w1+w2...

7 días ago | 0

Answered
Comparative Operator result is wrong
Note that you are comparing two floating point numbers and such numbers cannot be comapred using ==. Follow tol = 10^-5 ; idx...

7 días ago | 0

Answered
Preallocating cells with unknown output size
You can try to initilize them as X = cell([],[]) ; You can check the timing using tic , toc.

7 días ago | 0

Answered
Why is the graph linear instead of curve?
You have to increase the number of values in x, when calling the function. x=[0 8 16 25 37]; y=[5 17 12 21 19]; disp("Los da...

7 días ago | 0

Answered
Output argument "output" (and maybe others) not assigned during call to
Check in your function/ file the output which you are seeking is not present. a = myfunc(2,3) ; function out = myfunc(b,c) ...

7 días ago | 1

| accepted

Answered
Array processing operation and summation
To achieve this you need to read about input and for loop. Use input and enter the value of N. Initialize the required sum ...

7 días ago | 0

Answered
Extract data between thresholds
A = load('test.txt') ; A = A' ; ii = zeros(size(A)); jj = A > 0; ii(strfind([0,jj(:)'],[0 1])) = 1; idx = cumsum(ii).*jj; ...

10 días ago | 0

| accepted

Answered
Skipping a NaN in a loop
A = rand(5) ; % data for demo A(:,2) = NaN ; % replace a column with NaN for i = 1:5 if any(isnan(A(:,i))) ...

10 días ago | 0

Answered
How can I add angular noise to my vector?
Read about rand. X = X+rand(size(X)) ;

10 días ago | 0

Answered
How Can I solve this problem?
USe .^ instead of ^. H = 3; P = 100; ls = atan(P/H); fun = @(x) (2*(H/P)^2)*(x + (4/3)*x.^3 + (17/15)*x.^5 + (248/315)*x.^7...

10 días ago | 0

Answered
Trying to save a Matlab file with a timestamp
for i = 1:10 data = rand(100,1) ; fname = strcat('projjectile',string(datetime('now','Format',"yyyy-MM-dd-HH-mm-ss"))...

10 días ago | 0

| accepted

Answered
Add xyz arrows in plot
% points x = rand(50,1) ; y = rand(50,1) ; z = rand(50,1) ; % vectors u = rand(50,1)/10 ; v = rand(50,1)/10 ; w = r...

11 días ago | 1

| accepted

Answered
How do I plot the equipotential lines in matlab?
L = 1 ; x = linspace(-0.5,+0.5) ; lambda = sin(pi*x/L) ; plot(x,lambda)

11 días ago | 0

Answered
How to merge different data collected at different times?
Read all the files and save time of each file. Get the minimum and maximum of time out of the three files. Create date time a...

11 días ago | 0

Answered
Unable to convert expression into double array
This line: subs(diff) You have to substitute some value right? I guess you need to input value of t here......

11 días ago | 0

Answered
Machine learning for images dataset
If you have images to train the best you have imageDatastore. https://in.mathworks.com/help/matlab/ref/matlab.io.datastore.ima...

11 días ago | 0

Answered
Take average of multiple matrices
load data.mat ; A = cat(3,phi_BFD_v_sum{:}) ; iwant = mean(A,3) ;

11 días ago | 1

Answered
Plot data in map with LAT LONG
Refer this: https://www.eoas.ubc.ca/~rich/map.html You may see the below example for plotting. x = LON ; y = LAT ; z = power ...

11 días ago | 0

Answered
Extracting rows from table with specific digits
code = [{'116004.5'} {'116006.6'} {'120099.9'} {'120199.3'} {'120202.5'}] ; desc...

11 días ago | 1

| accepted

Answered
Loading coordinates from workspace
x = rand(5,1) ; y = rand(5,1) ; z = rand(5,1) ; figure(1) plot3(x,y,z) ; figure(2) scatter(x,y,[],z)

12 días ago | 0

Answered
How can specify interval of variables in fsurf?
f1 = @(x,y) erf(x)+cos(y); x = -5:0.1:0 ; y = -5:0.2:5 ; [X,Y] = meshgrid(x,y) ; Z = f1(X,Y) ; surf(X,Y,Z)

12 días ago | 1

Answered
Sum up values of corresponding date time intervals.
You can find the respective date indices using find or logical indexing. Once you know the first date and last date indices, you...

12 días ago | 0

Answered
How to sum up a column in Matlab?
iwant = sum(T.(4))

12 días ago | 0

| accepted

Answered
how to find the end point coordinates of an object in binary image.?
I = imread('image.png') ; I1 = rgb2gray(I) ; [y,x] = find(I1) ; [idx,C] = kmeans([x y],3) ; imshow(I) hold on plot...

13 días ago | 0

Answered
cell array in cell array
n = length(a) ; iwant = zeros(n,1) ; for i = 1:n iwant(i) = a{i}{3} ; end

13 días ago | 1

Answered
How do I get a graph to spiral
t = linspace(0,10*pi,5000); r = 5. ; c = 4 ; x = r*cos(t) ; y = r*sin(t) ; z = c*t ; comet3(x,y,z) ; plot3(x,y,z,'Color'...

13 días ago | 1

Answered
How to separate the data in the table for loop?
Let C be your cell array. A = cell2mat(C(:)) ; A1 = A(:,1) % first column

13 días ago | 0

| accepted

Load more