Borrar filtros
Borrar filtros

How to solve this equation in matlab?

2 visualizaciones (últimos 30 días)
Stanley Cheng
Stanley Cheng el 24 de Ag. de 2015
Comentada: Muhammad Uzair el 29 de Nov. de 2022
Can anyone teach me how to solve this equation in Matlab? Thanks so much!
syms a b c theta
a*sin(theta) + b*cos(theta) = c

Respuesta aceptada

Torsten
Torsten el 24 de Ag. de 2015
syms theta a b c
eqn = a*sin(theta)+b*cos(theta) == c;
soltheta = solve(eqn,theta)
Best wishes
Torsten.

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by