photo

Pallav Patel


Last seen: 4년 초과 전 2020년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Sort data based on different column
a = [5 8 1 2 7 6 3 4 70 60 50 40 30 20 10 0] I would like to sort t...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Loop for repeated file input if error
clc clear close all %Input for data file name myFilename = input('Please enter data file name.(Case sensitive):''s'); myF...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Printing pascals triangle binomial in loop
n = input('n:'); %Create first two rows that are always constant pt(1, 1) = 1; pt(2, 1 : 2) = [1 1]; for row = 3 : n ...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


%i created a fibonacci sequence but i want an expanded output of the polynmial that give the fibonacii sequence, %ie (x+y)^3 = x^3 + 3x^2y + 3xy^2 + y^3
clc; clear; close all; n = input('n:'); %Create first two rows that are always constant pt(1, 1) = 1; pt(2, 1 : 2) = [...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Stop value in loop for repeating
clc; clear; close all; rng('shuffle'); myint = randi([4,100]); while mod(myint,2) ~= 0 myint = randi([4,100])...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to combine two outputs of a into a single vector.
L = randi([2,5]); lo = [1,5,10] hi = [3,8,9] for k = 1:length(hi) if hi(k(1:end))>lo(k(1:end)) a=[lo(k):hi(...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to replace the 5 in my vector with decreasing numbers like 5,4,3,2,1
x(3:4,3:5) = 5

4년 초과 전 | 답변 수: 2 | 0

2

답변