|
Interview Questions for Matlab
|
|
A D V E R T I S E M E N T
1. What can we use Matlab for? |
1. Simple calculations
2. Plotting and analyzing mathematical relationships (2D and 3D)
3. List & Matrix Operations
4. Writing script files (a type of programming)
5. Symbolic manipulation of equations
6. Advanced visualization, animation and GUI interface tools
|
2. Vectorization What is that ? How to do it ? |
Thinking is terms of full matrices/vectors and also some related functions for that
* Use of filter(), which works beautifully for some time series models |
3. On what machines Matlab should be run |
Run it from sthelens, and only if sthelens is down, from cher, orsay or tiree. It works on other machines too, but some of the other machines have older versions of the OS and core dump upon exiting from matlab. Some other local machines with new setups work fine. Try your local machine. Matlab is blocked from running on the servers |
4. LaTeX in Matlab |
Matlab already handles naturally simple LaTeX encodings that allow introducing Greek lettters or modifying the font size and appearance in plots. |
5. can we run Matlab without graphics? |
Sometimes you may want to run scripts which contain plotting commands without displaying the plots and without going into the script to comment out the commands. An example: if you're working from home and it's too slow to run graphics over the network. You can play a simple UNIX trick:
% setenv DISPLAY /dev/null
% matlab |
6. How to correctly apply the graphics patches? |
# Open a LOCAL MACHINE window and type: xhost +ashland
# Add the following code sequence just before the plot command that was giving you problems:
figure;
set(gcf,'renderer','zbuffer');
[s,w] = unix('echo $DISPLAY');
set(gcf,'XDisplay',w); |
7. how to Add noise to an image? |
The function noise.m, now installed on ashland too, adds Gaussian, uniform, salt and pepper, additive or multiplicative noise to an image. |
8. how to call matlab in batch mode? |
his can be done from the command line or from a makefile. You need a script (filename.m). Just type at the command line, or include in the makefile:
matlab<filename.m
where filename.m can write to disk a figure, a binary, an ascii file, anything you want. |
|
Keywords:
Matlab Interview Questions, personality Interview Questions, Interview Questions, Interview Questions questions, character Interview Questions, knowledge Interview Questions, personality test, personality Interview Questions, Interview Questions are you, Interview Questions questions and answers.
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
|