MATLAB How Do You Create a Large Character Array in MATLAB?

  • Thread starter Thread starter Snk_majin
  • Start date Start date
  • Tags Tags
    Array Matlab
Click For Summary
To create a 100 x 5000 character array in MATLAB, users can utilize the "help char" command in the MATLAB Command Window, which provides examples and guidance on creating character arrays. While some resources suggest using Java strings, the focus here is on learning MATLAB's core functionalities without external dependencies. This approach allows for a better understanding of character array manipulation within MATLAB.
Snk_majin
Messages
2
Reaction score
0
Hi,

I hope you can help, I'm trying to create an array of characters in matlab:

It has to be 100 x 5000 in size, I'm not to sure where to start. I've looked at some web resources and it some mention bringing in java strings?

I'd ideally not like to use java as i want to learn the core workings of matlab.

Is there a way this can be done? I'd really appreciate any helped offered..

Thanks for your time
Snk_majin
 
Physics news on Phys.org
Hello, i hope i can help You.

You can start from inputing "help char" command in You Matlab Command window. You will see several exaples on creating the char array.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
21K