Question

Problem 3: Display Simplified [Opt] The goal of this question is to create a function named display Conversion which displays

in matlab

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Well The following matlab code might work as the arguments are concatenated to the string

function answer=displayConversion(varargin)
stri='';
for i=1:nargin
stri=strcat(stri,varargin{i});
end
disp(stri);
end
  

PLEASE UPVOTE

Add a comment
Know the answer?
Add Answer to:
in matlab Problem 3: Display Simplified [Opt] The goal of this question is to create a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • MATLAB question: I have written a code to solve for a metals resitance. Here is the...

    MATLAB question: I have written a code to solve for a metals resitance. Here is the problem statement: Part 1 (Algorithms) – due Friday: Think about how you might solve the problem of calculating the resistance of a given group of metals depending on the type of metal, the length of the wire and the area of the wire (if given the diameter only – so you must calculate the area). Write instructions (an algorithm) for a script that behaves...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT