Community Profile

photo

Daniel Ribeiro


Last seen: oltre 2 anni fa Attivo dal 2019

Followers: 0   Following: 0

Statistiche

All
  • Thankful Level 1
  • Solver

Visualizza badge

Feeds

Visto da

Domanda


"Unable to perform assignment because the indices on the left side are not compatible with the size of the right side." Error when assigning values of a sum to an empty vector.
I'm trying to compute the following sum: c = []; for n = 1:k c(n) = (4*(-1)^n / (2*n + 1)*pi) .* cos(((2*n + 1)*pi*x) / 2...

circa 3 anni fa | 1 risposta | 0

1

risposta

Risolto


Is my wife right?
Regardless of input, output the string 'yes'.

quasi 5 anni fa