Community Profile # Kartikay Sapra

Last seen: 11 mesi ago Active since 2021

#### Statistics

• • #### Content Feed

View by

could you please tell me how to minimize the comman window as much i can
writetable(table,"output.xlsx") % OR writetable(table,"output.csv") % OR writetable(table,"output.txt") You can store the o...

12 mesi ago | 0

How to plot an array effectively?
plot(t, X1) Assuming X1(i) is the value at t(i), we first specify the value for x-axis and then the value for y-axis

12 mesi ago | 0

| accepted

how to arrange x-coordinate w.r.t y-coordinates?
A = [1 2; 3 4; 5 6] map = containers.Map [row col] = size(A) for i = 1:row A(i,1) map(int2str(A(i,1))) = int2...

12 mesi ago | 0

Creating a matrix with rows and collumns
subplots = [1 2; 3 4; 5 6] [rows cols] = size(subplots); test = zeros([rows*(rows+1)/2 cols]); k = 1; for i = 1:rows ...

circa un anno ago | 0

How can I separate the data into two groups.?
data = [-1 -2 -1; 0 -1 0; 0 0 0] data(data==0) = NaN [maxVal ids] = max(data) data(isnan(data))=0 part_a = data(1:end,ids=...

circa un anno ago | 0

How do I create a matrix C that is comprised of values from matrices A and B, using a nested for loop?
C = zeros(4) A = reshape(1:16, 4, 4) B = reshape(17:32, 4, 4) C(1:2, 1:2) = A(1:2,1:2) + B(1:2,1:2); C(3:4, 3:4) = A(3:4,3...

circa un anno ago | 0

Sum of even numbers
function s = even_sum(n) if n <= 0 s = 0 else if n~=floor(n) s = NaN else s = sum(2:2:...

circa un anno ago | 0

how to use/load the separate voice i labeled ?(new learner)
You can go through the audioread documentation, see here https://in.mathworks.com/help/matlab/ref/audioread.html. [y, Fs] = aud...

circa un anno ago | 0