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
in matlab Problem 3: Display Simplified [Opt] The goal of this question is to create a...
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...