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

 채택된 답변

Stephan
Stephan 2018년 10월 21일

0 개 추천

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

Janvi Karia
Janvi Karia 2018년 10월 21일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

질문:

2018년 10월 21일

댓글:

2018년 10월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by