how to rotate a image in gui?

i need to rotate a image slowly. The image is a car steering. So my need is to rotate left and right slowly like driving a car.help plz
I need to rotate this image for car steering control in gui,like rotate left and right,simple like how car steering works. imrotate is not there in my toolbox. so can anyone tel me idea for this.

Réponses (2)

Henric Rydén
Henric Rydén le 22 Mai 2014

0 votes

imrotate

4 commentaires

sandy
sandy le 22 Mai 2014
in my matlab 2014a,imrotate is not there,any other possibilities?
Henric Rydén
Henric Rydén le 23 Mai 2014
imrotate is part of the Image Processing toolbox, which I wrongly assumed you had :) Rotate should work.
You specify the rotation angle in rotate, use a small one to rotate it "slowly".
sandy
sandy le 23 Mai 2014
thanks henric.In m files,its working.but while for a image file in matlab gui,cnt fetch and rotate it.can you provide any syntax or code please.so it will be more helpful .
Henric Rydén
Henric Rydén le 2 Juin 2014
Sure, what do you mean by "cnt fetch and rotate"?

Connectez-vous pour commenter.

Romain
Romain le 22 Mai 2014

0 votes

However the function 'rotate' exist in matlab 2014.
doc rotate

1 commentaire

sandy
sandy le 23 Mai 2014
Modifié(e) : sandy le 28 Mai 2014
thanks. but how to rotate image left and right slowly like car steering? also any car steering model can be made in gui..?

Connectez-vous pour commenter.

Catégories

Question posée :

le 22 Mai 2014

Commenté :

le 2 Juin 2014

Community Treasure Hunt

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

Start Hunting!

Translated by