-2
如何在matlab中的mod文件中寫入sin square x?我試過sin(x).*sin(x) and sin(x).^2
。但它不起作用。如何在matlab中的mod文件中編寫sin square x?
它說
ERROR: character unrecognized by lexer
任何人都可以在這方面幫助?
如何在matlab中的mod文件中寫入sin square x?我試過sin(x).*sin(x) and sin(x).^2
。但它不起作用。如何在matlab中的mod文件中編寫sin square x?
它說
ERROR: character unrecognized by lexer
任何人都可以在這方面幫助?
好以後快速搜索,我發現:
sin2theta = SIN(THETA)* SIN(THETA)
這樣試試:
sin(x)*sin(x)
或
sin^2(x)= 1/2 - 1/2 cos(2x)
你可以嘗試使用。
什麼是'mod'文件? – nkjt