• sanih

MemberMar 18, 2008

## help me with matlab

why it dose not work?

run it in matlab:

close all
clear all
clc
syms fy fpy fzy fx fpx fzx A; %A is alpha
%% IN_PUTS:
Rpy = input(' ');
Rpx = input(' ');
Ry = input(' ');
Rx = input(' ');
%% equ:
equ=' fy+fpy+fzy=183 , fx+fpx+fzx=122 , cos(A)*Rpy=fpx+fzx , abs( (-cos(A)) *Rpx)=fx , cos(A)*Rx=fpx , sin(A)*Rpy=fpy , abs( (-cos(A)) *Rx)=fy ';
%% solving equ:
[fy,fpy,fzy,fx,fpx,fzx,A]=solve(equ)

Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
• MemberMar 18, 2008

Could you please specify what this is about. What equation you are solving and whats the mathematical form???

What are the input parameters and what output will we get?
Are you sure? This action cannot be undone.
• MemberMar 19, 2008

better make different variables for each equation then use these var. for final calculations.
Are you sure? This action cannot be undone.
• MemberMar 19, 2008

it's for junior robot with 4 sonar sensor.
this program for calculations distance.
Are you sure? This action cannot be undone.
• MemberMar 20, 2008

Please give the equation in mathematical form. So I can write an optimal code for it on MATLAB. The code you have given is indecipherable.
Are you sure? This action cannot be undone.
• MemberMar 20, 2008

ok.
and i have another question:
how can i save image of video fram by fram into the certain file?
Are you sure? This action cannot be undone.
• MemberMar 21, 2008

see help file, its given much better than I can explain. See How to make a video object and use it to capture images. It's on the matlab help file.

And for simulink, export the same function in simulink. Thats also clearly given.

One thing I have noticed about MATLAB is that it has the best best ever help and support documentation!! I learned it completely from there!
Are you sure? This action cannot be undone.
• MemberMar 21, 2008

but i can't find any thing to reach my idea.
Are you sure? This action cannot be undone.
• MemberMar 21, 2008

i find it.
but i have another question:
how can i joint the simulink to m file? i want send the video to m file and read it an process it live!
how?
Are you sure? This action cannot be undone.
• MemberMar 23, 2008

The problem is I cannot really help you as the video format and the size and many other factors can change the way code is written. The help site given above has everything you need to know. how to transfer video to matlab workspace.
Are you sure? This action cannot be undone.
• MemberMar 23, 2008

ooh thanks
i know that but i can't read it live it's means while the copying to workspace dos't finisht i can't read it in to m-file!!
oh it's my big problem!
Are you sure? This action cannot be undone.
• MemberMar 24, 2008

If possible try sending the simulink and the matlab code you are using.
Are you sure? This action cannot be undone.
• MemberMar 24, 2008

ok.
can i trust you?
yes i can.
i think that you are good boy and you can help me,
Are you sure? This action cannot be undone.
• MemberMar 26, 2008

Like trust me with not stealing your code? and opening a startup with robots using ur code? and making millions and millions and gazillions of rupees? and eating at expensive restaurants and driving fast and expensive cars?

No, I don't think you can trust me for that...no, seriously don't.

😀 😁 😛
Are you sure? This action cannot be undone.
• MemberMar 31, 2008

xheavenlyx
Like trust me with not stealing your code? and opening a startup with robots using ur code? and making millions and millions and gazillions of rupees? and eating at expensive restaurants and driving fast and expensive cars?

No, I don't think you can trust me for that...no, seriously don't.
😀 😁 😛
no no you have skepticism. but i show you iranian are very honest.
ok get it and i will send password of it

Are you sure? This action cannot be undone.
• MemberApr 1, 2008

Hey you are from Iran????!!! Wow, Ive been to Rasht, Tehran, Mashad, Sarin, Lahijan, Masuleh 😀 Loved Rasht and Masuleh! 😀

Hal-e shoma chitore? Khoobie???

And no I am not skeptical, I was just being sarcastic, joking 😀

Are you sure? This action cannot be undone.
• MemberApr 2, 2008

fekr nemikonam kasy to site khosh'sh biad ma farsi harf bezanim! na?
masole vaghean zibast! na?
man to ahwaz hastam dar zemn man arabam.
eshlonek? zeyn enshallah?
if you can solve this enigma about password of file so you have competence to see it,
the password of it is in this pictuer:

Are you sure? This action cannot be undone.
• MemberApr 2, 2008

it's me with my team 2 years ago:

Are you sure? This action cannot be undone.
• MemberApr 3, 2008

lol, awesome!!

So, Ill try to decode your farsi post before I decode the password:

fekr nemikonam kasy to site khosh'sh biad ma farsi harf bezanim! na?
Means Dont worry, we will talk in fasri...something...

masole vaghean zibast! na?
Masole is very good? is zibast good?

man to ahwaz hastam dar zemn man arabam.
I am living in Ahwaz...afte that I dont know, arabam?

eshlonek? zeyn enshallah?
eshlonek? I dont know, then if God willing (if possible)

if you can solve this enigma about password of file so you have competence to see it,
the password of it is in this pictuer:

Ok, thats in english. And get the password soon 😀

Nice to see your tream! I know, Iran is pretty good with Hobby electronics. Its nice.

*EDIT*
Nope, cant get the password tried the following:
naeem
naeemtitan
naeem.titan
naeemtitan
naeemt
ntitan
naeemtitangmail
naeemtitangmailcom
nt
ntgc
tn
ntg
Are you sure? This action cannot be undone.
• MemberApr 3, 2008

hello,
it's 8 letter word,it in pic see it carefully what is in this pictuer?

ooh, think and if you can't,then tell me. so i send it to you
goodluck!
Are you sure? This action cannot be undone.
• MemberApr 3, 2008

let me have a crack at the password.. um.. "bigsmile"? lol.
Are you sure? This action cannot be undone.
• MemberApr 4, 2008

I tried bigsmile, does not work 😔

more:

deformed
morphing
bigteeth
webshots
whiteall
allwhite
435x589

Please give more clues 😀 I want to try. was i atleast close?
Are you sure? This action cannot be undone.
• MemberApr 5, 2008

think more and more ....

excuse me if you can't find it i can send it to you.
do you want?
Are you sure? This action cannot be undone.
• MemberApr 5, 2008

Give another clue beofre you send the password. Just something to help 😀
Are you sure? This action cannot be undone.
• MemberApr 6, 2008

Are you sure? This action cannot be undone.
• MemberApr 7, 2008

I read your PM but i cannot send you any PM's. you have to change your forum options to allow yourself to receive PM's.

I think you had good suggestions, but I think you must post your ideas on the CE: Bot thread itself 😉