Community Profile

photo

KSSV


Last seen: Today

8,611 2011 年以降の合計貢献数

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

連絡する

KSSV's バッジ

  • 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

詳細を表示...

貢献した分野
表示方法

回答済み
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日 前 | 0

回答済み
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日 前 | 0

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

7日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 1

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 0

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

10日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

| 採用済み

回答済み
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日 前 | 1

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

回答済み
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日 前 | 0

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

11日 前 | 1

回答済み
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日 前 | 0

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

11日 前 | 1

| 採用済み

回答済み
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日 前 | 0

回答済み
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日 前 | 1

回答済み
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日 前 | 0

回答済み
How to sum up a column in Matlab?
iwant = sum(T.(4))

12日 前 | 0

| 採用済み

回答済み
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日 前 | 0

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

13日 前 | 1

回答済み
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日 前 | 1

回答済み
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日 前 | 0

| 採用済み

回答済み
Count EVEN and ODD numbers
clc; clear all ; a = input("Please enter 1st number: "); nE = 0 ; nO = 0 ; if mod(a,2)==0 disp("The 1st number is EVEN")...

13日 前 | 0

回答済み
How do I create another column in a table which basically divides a T+1 / T number?
x = rand(10,1) ; y = rand(10,1) ; T = table(x,y) T.ratio = T.y./T.x

14日 前 | 0

回答済み
Eliminating columns from the matrix
a=[0 12 13;0 5 4;0 9 6;0 8 9] idx = any(a)==0 ; a(:,idx)=[]

14日 前 | 1

| 採用済み

Load more