Community Profile

photo

KSSV


Last seen: Today

7,440 2011 年以降の合計貢献数

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

連絡する

KSSV's バッジ

  • 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

詳細を表示...

貢献した分野
表示方法

回答済み
Interpolating angle between -0.2 to 0.2 rad
x0 = -0.2 ; x1 = 0.2 ; dx = 1/1000 ; x = x0:dx:x1 ;

約1時間 前 | 0

| 採用済み

回答済み
please help with this question
n = 10000 ; thesum = 0 ; for i = 1:n thesum = thesum+1/(n*(n+1)) ; end

約1時間 前 | 0

回答済み
How to read .txt file which have complex numbers and how to separate real and imaginary parts of the complex numbers?
fid = fopen("smithchartall.txt") ; S = textscan(fid,'%f %f %f\n','HeaderLines',1) ; fclose(fid) ; C1 = S{1} ; C2 = S{2} ; ...

1日 前 | 1

| 採用済み

回答済み
how to find out the cell array size in for loop with conditions?
Your mat file has a cell SoC2W. This is of size 60*48. Each element is a cell. You can convert it to matrix using: M = cell2mat...

1日 前 | 0

| 採用済み

回答済み
Matrix with variable number of rows and fixed columns
As you will have variable number of values in each column, save them in the cell. [H,W] = size(BT); x = cell(W,1) ; y = cell(...

2日 前 | 0

回答済み
Find slope signal change
https://www.mathworks.com/matlabcentral/answers/410698-find-time-of-slope-change https://www.mathworks.com/matlabcentral/answ...

2日 前 | 0

回答済み
2D plot (x,y) with third axis (z-axis) as color bar
Read about surf, pcolor.

2日 前 | 0

回答済み
plot matrix with variables
N = 100 ; t = linspace(0,2*pi,N) ; y = sin(2*pi*t) plot(t,y)

2日 前 | 0

回答済み
Insert value at particular index of cell array in a loop
You can insert a number in an array on knowing the value of the element and at what position you want to insert the value. A =...

2日 前 | 0

回答済み
matrix and making another matrix from it
Hint: For upper triangular major, we use: [m,n] = size(A) ; for i = 1:m for j = 1:n if i <=j A(i,j) end ...

2日 前 | 0

回答済み
Finding period of EEG (peak2peak)
load("tsout.mat") ; data = tsout.MCOS ; [pks,locs]=findpeaks(data) ;

2日 前 | 0

回答済み
Hi I need help with for loop
This single loop is fine enough: N = length(v_x) ; xpos = zeros(N-1,1) ; xpos(1) = 4 ; for i = 2:N-1 xpos(i) = v_x(i)*...

2日 前 | 0

| 採用済み

回答済み
How to import data from .txt file?
data = importdata(mytextfile) ;

3日 前 | 0

| 採用済み

回答済み
ASSIGN COMPLEX NUMBERS(X+jY) RANDOM INTEGERS BETWEEN 1 and 3
N = 5 ; C = zeros(N,1) ; for i = 1:N C(i) = randperm(3,1)+1i*randperm(3,1) ; end

3日 前 | 0

回答済み
Why subplots doesn't work?
subplot(2,2,1) plot(a) subplot(2,2,2) plot(b) subplot(2,2,3) plot(a2) subplot(2,2,4) plot(b2) Note that figure will open...

3日 前 | 0

回答済み
How to load multiple .mat files into two different groups
USe this file exchange: https://www.mathworks.com/matlabcentral/fileexchange/47434-natural-order-filename-sort First nine will ...

3日 前 | 0

回答済み
Error with surf function
[m,n] = size(data) ; x = 1:n ; y = 1:m ; surf(x,y,data) Also you can straight away use: surf(data) ;

3日 前 | 1

| 採用済み

回答済み
Plotting after a for loop
x = -5:5 ; y = zeros(size(x)) ; y(x>=0.5) = 0.5 ; plot(x,y)

3日 前 | 0

回答済み
how to put only one element randomly in row of matrix
A = zeros(4,3) ; [m,n] = size(A) ; for i = 1:m idx = randperm(n,1) ; A(i,idx) = 1 ; end

3日 前 | 0

| 採用済み

回答済み
How can you clear the content of a workspace in the MATLAB environnement
There are multiple errors possible in MATLAB. Refer here: https://en.wikibooks.org/wiki/MATLAB_Programming/Error_Messages

3日 前 | 0

回答済み
I want to divide color image in small tiles and then need to count number of color pixels in each tile.
Refer this to split the matrix/ image into blocks https://www.mathworks.com/matlabcentral/answers/362262-i-have-a-32-32-matrix...

3日 前 | 0

回答済み
hi i want to save images
for i = 1:44 h=figure ; plot(rand(1,10)) ; saveas(h,sprintf('FIG%d.png',i)); % will create FIG1, FIG2,... end

4日 前 | 0

| 採用済み

回答済み
How can I create a small cell 500*500 pixel in one satellite image?
Refer this....it should help you: https://www.mathworks.com/matlabcentral/answers/362262-i-have-a-32-32-matrix-i-want-to-take-m...

4日 前 | 1

| 採用済み

回答済み
How to use matlab to calculate this sum?
With loop N = 1000 ; thesum = 0 ; for i = 1:N thesum = thesum +(1/i+1/((i+2)*(i+3))) ; end Without loop N = 1000 ; ...

4日 前 | 0

回答済み
how to specify the particular column numbers of a matrix in for loop
for i = 1:1801 for j = 70:75

4日 前 | 0

| 採用済み

回答済み
How do I call to function from other function?
You need to save both the function files in the same folder and yes call the other function in the required function. It is very...

5日 前 | 1

| 採用済み

回答済み
How to set different marker for some different values?
fmt = {'*','o','^','.','+','x','s','p','h'}; % different markers x = 1:9 ; y = rand(size(x)) ; figure hold on for i = 1:...

5日 前 | 0

| 採用済み

回答済み
Sum the values of one column based on another column in Table
Let T be your table. R = T.Range ; val = 862.33 ; count = nnz(abs(R-val)<=10^-5)

5日 前 | 0

回答済み
Recover matrix Z from XZX', Z es symmetric and n-by-n, while X is k-by-n where n>>k
Does this match your criteria? k = 8 ; n = 5 ; % create dummy data X = rand(n,k) ; Z = rand(n) ; Z = Z+Z' ; % make ...

5日 前 | 0

Load more