Azzera filtri
Azzera filtri

symsum wave harmonics along a string

2 visualizzazioni (ultimi 30 giorni)
JDilla
JDilla il 17 Mag 2015
Modificato: JDilla il 17 Mag 2015
PLEASE CLOSE THIS

Risposte (2)

Walter Roberson
Walter Roberson il 17 Mag 2015
In order to use symsum() you would need to be using a symbolic formula with at least one symbolic variable in it. There is nothing in your definition of u that is obviously a free variable. Is w_n your free free variable? Perhaps, but you have written your Fw_n in terms of w_n and tau with tau not defined.
  7 Commenti
Walter Roberson
Walter Roberson il 17 Mag 2015
Your first sin() appears to have x subscript s. What is that? Your second sin() has x without the subscript, and I cannot assume that x(s) and x are the same because if that were the case then your two sin() terms would be the same and you would have written the expression as sin^2() rather than as two terms.
JDilla
JDilla il 17 Mag 2015
Modificato: JDilla il 17 Mag 2015
"The source, which is applied at distance X_s (denoted as Xs in the expression"
There is a source applied to the string, eg, plucking a guitar string at a distance of X_s. It can be any number.

Accedi per commentare.


JDilla
JDilla il 17 Mag 2015
Modificato: JDilla il 17 Mag 2015
To word this differently, I have code that describes ONE standing wave. I want 5 standing waves, of different angular frequencies (w_n) as subplots. Whilst I cannot pick the angular frequency, I can change tau. The expression of the source which determines tau is Fw_n = exp[-(w_n*tau)^2/4]. Fw_n is the expression of the source, ie, plucking or strumming the string, that is applied at a distance X_s
Then, using the expression in the picture, calculate the sum of the standing waves, and then plot this as well. The sum of the standing waves should generate a different shaped wave.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by