photo

yonatan friedman


Last seen: mehr als 3 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Nachricht

Statistik

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 4 Jahre vor | 0

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort