photo

Nipun Vashistha


Last seen: 11 meses hace Con actividad desde 2022

Followers: 0   Following: 0

Estadística

All
  • Cody 10th Anniversary 10-Day Streak
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver
  • Thankful Level 2

Ver insignias

Feeds

Ver por

Pregunta


(Matrix Optimization) Optimization method for coefficient matrix in Ax = b with known x and b.
Hi, I have two 4*1 data vectors x and b which represents meaured 'Intensity vector' and 'Stokes vector'. These two vectors are ...

alrededor de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


I tried to write a code to find the next smallest prime number greater than any given positive integer. My code is stuck in infinity loop, how can I find where is the problem?
function k = next_prime(n) t = 2; if isscalar(n) && fix(n) == n && n > 0 while t > 0 if isprime(t) && t > n ...

más de 2 años hace | 1 respuesta | 0

1

respuesta