Please see the attached image!
This function is for rotating a vector using a matrice however no answer is outputted for the rotated vector Please help

 Respuesta aceptada

Stephan
Stephan el 21 de Oct. de 2018

0 votos

Hi,
You miss to Call your function after you got the inputs. Add this in the third line:
v_rotate = my_function(v_orig,angle)
Best regards
Stephan

1 comentario

Janvi Karia
Janvi Karia el 21 de Oct. de 2018
Thank you Stephan
Apologies for the repeat Q, my laptop froze and I thought I'd deleted the earlier question hence why I reasked. Will close both now
cheers

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 21 de Oct. de 2018

Comentada:

el 21 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by