Gelöst


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

mehr als 12 Jahre vor

Gelöst


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 ...

mehr als 12 Jahre vor

Gelöst


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...

mehr als 12 Jahre vor

Gelöst


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...

mehr als 12 Jahre vor

Gelöst


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...

mehr als 12 Jahre vor

Gelöst


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...

mehr als 12 Jahre vor

Gelöst


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...

mehr als 12 Jahre vor

Gelöst


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 ...

mehr als 12 Jahre vor

Gelöst


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...

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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:...

mehr als 12 Jahre vor

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Frage


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'); ...

mehr als 12 Jahre vor | 5 Antworten | 6

5

Antworten

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

mehr als 12 Jahre vor | 2

Beantwortet
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...

mehr als 12 Jahre vor | 4

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 6

| akzeptiert

Beantwortet
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 ...

fast 13 Jahre vor | 0

Beantwortet
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 ...

fast 13 Jahre vor | 6

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

fast 13 Jahre vor | 1

| akzeptiert

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

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 1

Beantwortet
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...

fast 13 Jahre vor | 3

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

etwa 13 Jahre vor | 2

| akzeptiert

Beantwortet
[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. ...

etwa 13 Jahre vor | 4

Beantwortet
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...

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 1

| akzeptiert

Mehr laden