Jump to content

Recommended Posts

Posted

Hi guys, it's me again.

 

for i=1:n;
        fprintf('Enter the coefficient of b%d:',i)
        b(i)=input('');
 end

 

Just wondering what's the (' ') doing over there? I've already run it several times, and it seems that it is accumulating your input. Just want to know perspectives of you guys.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.