Question: Concatenating character vectors Write a statement that creates the character vector fullName by concatenating three character vectors: firstName, a space, then lastName. Function Save C

Concatenating character vectors Write a statement that creates the character vector fullName by concatenating three character vectors: firstName, a space, then lastName. Function Save C Reset MATLAB Documentation 1 function fullName = CombineNames (firstName, lastName) 2 % firstName: User specified string 3 % lastName: User specified string + % Write a statement that assigns fullName with firstName, a space, then lastName fullName = firstName; 8 end Code to call your function C Reset 1 CombineNames ('Alan', 'Turing')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
