Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 20 lip 2024 · X = str2num(txt) converts a character array or string scalar to a numeric matrix. The input can include spaces, commas, and semicolons to indicate separate elements.

    • Cast

      B = cast(A,newclass) returns the data in A converted to the...

    • Hex2num

      This MATLAB function converts hexStr to the double-precision...

    • Isnumeric

      C/C++ Code Generation Generate C and C++ code using MATLAB®...

    • Sscanf

      A = sscanf(str,formatSpec) reads data from str, converts it...

    • Str2double

      X = str2double(str) converts the text in str to double...

    • ISA

      tf = isa(A,classname) returns 1 (true) if A is an instance...

    • Str2num

      X = str2num(txt) converts a character array or string scalar...

    • Char

      C = char(A1,...,An) converts the arrays A1,...,An into a...

  2. 19 maj 2015 · Given that the requirement that the number [aabc] may "...be binary,hex,etc..", then presumably this number will be stored in a string (aka character array). Given that a character array is already an array of individual characters, then it already fulfills the requirements of the output: [a a b c] , which is the same thing as [aabc] , where ...

  3. [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 arguments in B1,...,Bn.

  4. use the function str2num() Note: To verify that i'm correct, type in 'whos str' in the command window, and check the class. A string has a class, char, and numeric values have a class, double. Your code produces a 1x1 double, not a 3x1 array of doubles as required.

  5. How can I convert [12 25 34 466 55] to an array of strings ['12' '25' '34' '466' '55']? The conversion functions I know convert that array to one string representing the entire array.

  6. Hi everyone, I want to convert a string '[2:0.5:4]' to an array. Thanks in advance.

  7. 23 kwi 2017 · I have a list of names in a string variable ( for example "'a','b','c'") and i need to convert it to an array [a;b;c]. is there a way to do this? thank you!

  1. Ludzie szukają również