How to load .txt file on Matlab and how to work on it? [closed] - matlab

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm new on Matlab. I don't know how to load .txt file end then open it to start work. The file is composed by 1 column with over 10.000 elements. I'm going to open it and then to deleted some elements, these deleted elements must be more little than a fixed value, how can I do it.
Thank you very much for your time.
Mario

Read the following part of the user guide: http://www.mathworks.co.uk/help/techdoc/import_export/br5s7ig.html
or use the MATLAB editor if you want to do it interactively:
edit(textfilename)

Related

Loading HDF5 with Matlab [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I need to open and visualize a binary file in HDF5 format with Matlab.
Matlab has support for hdf5 files.
To get information about the data structure stored in a specific hdf5 file you can use hdf5info function:
h5info = hdf5info('/path/to/file.hdf5');
Once you have the information, you can use it to read the data from the file unsing hdf5read:
data = hdf5read(h5info);

Show raise to power in static text Matlab [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm making a GUI in MATLAB. I want to know how to show/represent raise to power in static text in MATLAB.
Use the ^ character. MATLAB implemented basic TeX style formatting several years ago into text boxes, so _ is interpreted as subscript. If you actually want these symbols to appear in your text, place a \ then place your symbol after it (i.e. \_ or \^).

How to Test conditional independence between random variables using available samples? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How can I test for the independence between two random variable given another one(i.e. whether P(A|C)=P(A|C,B) or not?) using available samples. in other words, I just have 1000 samplesf for 3 random variables generated by bntoolbox on Matlab and now I wanna test for CI between arbitrary random variables.
I've read something about Fisher's method but honestly don't understand it.
Thanks is advance.

Reading a 5-D double data structure in matlab [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How do I read a 5-D data structure (of type double) in matlab? I have loaded the data in matlab and it says 5-D double. How do I read it afterwards
With the current information I cannot say much, but usually this is a good first try:
In matlab navigate to the file, right click on it and choose import data.
The import wizard is quite powerful so you have a good chance to get the data you need from that. Afterwards you may need to try help reshape if it does not have the right dimensions yet.

printing special ascii characters that appear as empty string in matlab [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to print the NAK char over serial to a device. On putty, I do this with Ctrl+U. However, in matlab I don't think I'm doing this correctly. I tried:
fprintf(s,char(21))
to no avail.
in matlab, disp(char(21)) shows nothing, what should I be doing?