MATLAB Answers

# help me to Showing the Cloud !

2 views (last 30 days)
moumene hafidh on 5 Feb 2020
Commented: moumene hafidh on 5 Feb 2020 ##### 1 CommentShowHide None
moumene hafidh on 5 Feb 2020
x=forwardk(1,4);%x-position symbole4 means row4 in forwardk 1means take the first value meansX
y=forwardk(2,4);%y-position
z=forwardk(3,4);%z-position
xr=(forwardk(1,1)+forwardk(1,2)+forwardk(1,3)) %the x componenet of the orientation vector
yr=(forwardk(2,1)+forwardk(2,2)+forwardk(2,3)) %the y componenet of the orientation vector
zr=(forwardk(3,1)+forwardk(3,2)+forwardk(3,3)) %the z componenet of the orientation vector
end
end
x=forwardk(1,4);%x-position symbole4 means row4 in forwardk 1means take the first value meansX
y=forwardk(2,4);%y-position
z=forwardk(3,4);%z-position
xr=(forwardk(1,1)+forwardk(1,2)+forwardk(1,3)) %the x componenet of the orientation vector
yr=(forwardk(2,1)+forwardk(2,2)+forwardk(2,3)) %the y componenet of the orientation vector
zr=(forwardk(3,1)+forwardk(3,2)+forwardk(3,3)) %the z componenet of the orientation vector
end
end

Sign in to comment.

### Accepted Answer

Subhadeep Koley on 5 Feb 2020
Remove these lines before function defination.
clear
clc
Also can you post your code instead of attaching a screenshot?
##### 1 CommentShowHide None
moumene hafidh on 5 Feb 2020 Sign in to comment.

### Community Treasure Hunt

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

Start Hunting!