Resuelto


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

más de 14 años hace

Resuelto


radius of a spherical planet
you just measured its surface area, that is the input.

más de 14 años hace

Resuelto


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

Resuelto


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

más de 14 años hace

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Pregunta


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

más de 14 años hace | 5 respuestas | 6

5

respuestas

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

más de 14 años hace | 2

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

más de 14 años hace | 4

| aceptada

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

más de 14 años hace | 6

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 7

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 1

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

casi 15 años hace | 3

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

casi 15 años hace | 2

| aceptada

Cargar más