Community Profile

photo

yonatan friedman


Last seen: 3년 초과 전 2019년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

배지 보기

Feeds

보기 기준

질문


bug in the function
What do I need to write in f2 (u1, u2) so that I do not have the error : Undefined function or variable 'ETA'.

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

1

답변

질문


i want to put n and counter in one matrix
for n=4:50 a=[]; e = ones(n,1); A1 = spdiags([-e 0*e -e 4*e -e 0*e -e],-3:3,n,n); full(A1); A=full(A1); b=zeros(n,1); b(...

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

1

답변

질문


Bisection method, Numerical analysis
y=@(x) ((x+1)^2)*(exp(x^2-2)-1); a=0; b=1; m=(a+b)/2; while abs(y(m))<0.01 disp(m) if y(a)*y(m)<0 b=m; elseif y(...

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

1

답변

질문


fprintf and \n (pyramid of numbers)
clc; clear; n = 6; j = []; for i = 1 : n for j = i:n fprintf('%d',i:j) fprintf('\n') end end ~~...

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

1

답변

질문


counting rows after fprintf
function printPythagoras(n) n = 15; for i = 3:n for j = 4:n for k = 5:n if i^2 + j^2 == k^2 && i<j...

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

1

답변

질문


strings become numbers and get in to the matrix
i have a matrice [1 0 -1 -1 2 -1 1 1 0 -1 -1 2 -1 1 1 -1 0 ...

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

1

답변

질문


exchange problems to 0.xyz (after the dot)
making change problem I need to exchange my money to "little-money" in this form : [0.5 , 0.25 , 0.1 , 0.05 , 0.01] I have : ...

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

1

답변

질문


alternative options to prod
input = [8 10 9 9 1 8 3 2 4 4 10 4 6 2 7 7 1 6 4 ...

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

1

답변

답변 있음
Given a logical vector v, and a positive integer n, return the smallest index i that satisfies
i tried this: for i = length(v) while i + n -1 < length(v) if all( v(i : i+n-1) ) == true disp(su...

4년 초과 전 | 0

질문


Given a logical vector v, and a positive integer n, return the smallest index i that satisfies
Given a logical vector v, and a positive integer n, return the smallest index i that satisfies all( v(i : i+n-1) ) == true F...

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

1

답변

질문


problem in matlab, I need help
insert a matrix with integers numbers : randi([-1,3],5,4) 3 2 -1 0 -1 1 0 2 0 3 -...

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

1

답변