Community Profile

# Kartikay Sapra

Last seen: 7ヶ月 前 2021 以来アクティブ

バッジを表示

#### Content Feed

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...

8ヶ月 前 | 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

8ヶ月 前 | 0

| 採用済み

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...

8ヶ月 前 | 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 ...

8ヶ月 前 | 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=...

8ヶ月 前 | 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...

8ヶ月 前 | 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:...

8ヶ月 前 | 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...

8ヶ月 前 | 0

How to create a Matrix
You can use: A = reshape(22:-1:11, 4, 3)

8ヶ月 前 | 0

I need code to sketch circle with interfaces (interior arcs)
function plotcircle(r,x,y) plot(r*exp(j*(0:pi/100:2*pi))+x+j*y); end Use this method to plot the main circle with radius ...

8ヶ月 前 | 0