MATLAB: How to use fprintf displayfprintfprint For example if I have seven variable x=[a;b;c;d;e;f;g] and I have y=[1;2;3;4;5;6;7] how can I use fprintf to assign each number from y to its variable in x I'm so confused, please help! Best Answer fprintf('a= %g; b= %g; c= %g ',y(1),y(2),y(3)) % extend it until y(6) Related SolutionsMATLAB: When i run the program of data writting to a file i have got exponential data.how it will be in the decimel format fprintf(fileID,'%f',data(x,y,z)) MATLAB: How to display units with the answer fprintf('%g kg\n', y) Related QuestionError at fprintf: function not defined for ‘cell’ inputsAddition of string matrices.FprintfLables for Matrix columnsWhat is the problem for the following commands in MATLABAssignment has more non-singleton rhs dimensions than non-singleton subscriptsFourier Coefficient Plots with variable n or mError using fprintf Unable to convert ‘sym’ value to ‘double’.
Best Answer