Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

12 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

12 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

12 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

12 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

12 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

12 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

12 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

12 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

12 years ago

Answered
Jpeg text rendering when saving.
Try <http://www.mathworks.com/matlabcentral/fileexchange/23629 export_fig> on the file exchange.

12 years ago | 0

Answered
Copying and Pasting 3-D Plots
<http://www.mathworks.com/matlabcentral/answers/21962-export-figure-to-microsoft-outlook See this question>.

12 years ago | 0

Answered
OpenGL and print
To get transparency in vector graphics output, export your figure to an <http://www.mathworks.com/matlabcentral/fileexchange/740...

12 years ago | 0

Answered
Save a figure to PDF or EPS with non-standard fonts
The file exchange submission <http://www.mathworks.com/matlabcentral/fileexchange/23629 export_fig> now supports font correcting...

12 years ago | 0

Question


Save a figure to PDF or EPS with non-standard fonts
If I generate a figure using some fancy fonts, for example like this: plot(rand(3)); set(gca, 'FontName', 'Georgia'); ...

12 years ago | 5 answers | 6

5

answers

Answered
Print specific figure in GUI
The <http://www.mathworks.com/matlabcentral/fileexchange/23629 export_fig> package contains a function called isolate_axes. You ...

12 years ago | 2

Answered
Export figure to Microsoft Outlook
This code will copy a figure to the clipboard as an image: imclipboard('copy', export_fig()); Both <http://www.mathworks.com...

12 years ago | 4

| accepted

Answered
Transparent background for figures
You can edit the eps file generated by print, and remove the line which creates the background rectangle, thus making the backgr...

12 years ago | 6

| accepted

Answered
What is your favorite way to export figure for use in LaTeX?
I create the graph or image in a MATLAB figure on screen exactly as I want it to appear in the paper. Then I save the figure as ...

13 years ago | 0

Answered
Multiple Figures to PDF's
<http://www.mathworks.com/matlabcentral/fileexchange/23629 Export_fig> has an -append option which you can use to save multiple ...

13 years ago | 6

Answered
matlab cannot save my figure
Instead of saveas, use: hgsave(1, ['C:\users\lefou\desktop\back/' jd '/' Outputname '.fig'], '-v7.3'); From the documentatio...

13 years ago | 1

| accepted

Answered
Saving an image with no gui
Use print instead of saveas.

13 years ago | 0

Answered
startup.m problem
Since you call startup_mtex from your startup file it adds mtex to the MATLAB path on startup. You therefore don't need to add i...

13 years ago | 0

Answered
Line 129 in saveas function is slow!
If the question were instead "How can I make saveas faster?", I'd say - Change line 129 to: if ~isempty(format) && ~isem...

13 years ago | 1

Answered
How to save a MATLAB graphic in a right size .pdf?
<http://www.mathworks.com/matlabcentral/fileexchange/23629 Export_fig> saves the figure at the dimensions it appears at on scree...

13 years ago | 3

Answered
Printing Axes
With <http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig export_fig> you can specify a list of handles of the a...

13 years ago | 2

| accepted

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
Many questions get asked again and again. Why? Because people are not searching for previous answers before asking questions. ...

13 years ago | 4

Answered
How to print a matrix as an uncompressed image file.
The function <http://www.mathworks.com/matlabcentral/fileexchange/16233-sc-powerful-image-rendering sc> was written to solve exa...

13 years ago | 0

Answered
Multiple Colormaps, freezeColors won't work
Use <http://www.mathworks.com/matlabcentral/fileexchange/23342-real2rgb-colormaps real2rgb> to convert your data matrices to ima...

13 years ago | 1

| accepted

Load more