About 824,000 results
Open links in new tab
  1. Construct function handle from character vector - MATLAB

    fh = str2func(str) constructs a function handle, fh, from a function name or text representation of an anonymous function. Function handles created using str2func do not have access to …

  2. string, " " - String array - MATLAB - MathWorks

    You can index into, reshape, and concatenate string arrays using standard array operations, and you can append text to them using the + operator. If a string array represents numbers, then …

  3. Characters and Strings - MATLAB & Simulink - MathWorks

    String arrays provide a set of functions for working with text as data. You can create strings using double quotes, such as str = "Greetings friend". To convert data to string arrays, use the string …

  4. Using strings as an argument of a function - MATLAB Answers

    Mar 22, 2020 · Is there anyone who knows how i can use strings as an argument and how should i pass strings on the line that i call the function? I want to use the function several times and i …

  5. How to convert a string to a function? - MATLAB Answers

    Oct 12, 2017 · How would you convert a string to a function? For example: function [y] = equation(x,exp_or_sin) if x=1 and under function I have a statement such as y = …

  6. append - Combine strings - MATLAB - MathWorks

    The append function supports implicit expansion of arrays. For example, you can combine strings from a column vector and a row vector to form a two-dimensional string array. Create a …

  7. func2str - Construct character vector from function handle - MATLAB

    c = func2str(fh) constructs a character vector, c, that contains the name of the function associated with the function handle, fh. If fh is associated with an anonymous function, func2str returns a …

  8. convertStringsToChars - Convert string arrays to character arrays ...

    [B1,...,Bn] = convertStringsToChars(A1,...,An) converts any string arrays in A1,...,An to character vectors or cell arrays of character vectors, and then returns them as the corresponding output …

  9. Convert Numeric Values to Text - MATLAB & Simulink

    Convert to Strings. To convert a number to a string that represents it, use the string function.

  10. Convert a string into a function of x - MATLAB Answers - MathWorks

    Nov 21, 2018 · Convert a string into a function of x. Learn more about string Hi all, I have created a string like this: Sstr = join(compose('(x(%d:%d)-x(%d:%d))))', A), ' + ') so I get a result: …

  11. Some results have been removed
Refresh