統計
All
Feeds
送信済み
Panel
Like subplot, but easier, and WYSIWYG export to file. Also fixes dashed/dotted lines in export.
約5年 前 | ダウンロード 22 件 |
質問
function-style array indexing
Hi This problem keeps coming up for me over the years, and there must be a standard solution, so perhaps someone knows it, I ...
8年以上 前 | 1 件の回答 | 0
1
回答解決済み
Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...
12年弱 前
解決済み
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
12年弱 前
解決済み
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年弱 前
解決済み
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
12年弱 前
解決済み
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年弱 前
解決済み
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年弱 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
12年弱 前
解決済み
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年弱 前
質問
OpenGL renderer not offering hardware acceleration (Windows, NVidia)
Hi I am working with some not-all-that-large polygon datasets, and rendering them into a figure. Let's see... 3000 triangles....
13年弱 前 | 0 件の回答 | 1
0
回答送信済み
datastore
A tool for persisting data associated with the logged in user across sessions of Matlab.
13年弱 前 | ダウンロード 2 件 |
質問
using classdef, is it possible to mix run-time data access through the dot syntax with methods elegantly?
hi i am developing a class (using classdef) that maintains a structure internally with fields that are instance-dependent. i ...
13年弱 前 | 1 件の回答 | 0
1
回答質問
taking control of tab completion w/ classdef
hi i am writing my custom classes using the classdef syntax, and sub-classing handle. the classes will be supplied to users, ...
13年弱 前 | 0 件の回答 | 1
0
回答質問
how to wrangle the "doc" system when writing a class?
Hi I have written a class which is quite complex (hundred or so methods). It exposes two public interfaces; one is to the fra...
約13年 前 | 0 件の回答 | 2
0
回答回答済み
Running scripts from command line
if you don't need error information, you could just enclose your call to run() in a try/end, such as: matlab.exe -r "cd c:\...
Running scripts from command line
if you don't need error information, you could just enclose your call to run() in a try/end, such as: matlab.exe -r "cd c:\...
13年以上 前 | 5
| 採用済み
回答済み
Dumb mistakes we make with MATLAB.
Moving into the Figure window, but in a similar spirit to the rand(100000) thing, I use this when I need an excuse to take a bre...
Dumb mistakes we make with MATLAB.
Moving into the Figure window, but in a similar spirit to the rand(100000) thing, I use this when I need an excuse to take a bre...
13年以上 前 | 0
回答済み
How do I fix the error "Function definitions are not permitted at the prompt or in scripts"?
Perhaps where you have function S = timestr(D,precision) you intended S = timestr(D,precision)
How do I fix the error "Function definitions are not permitted at the prompt or in scripts"?
Perhaps where you have function S = timestr(D,precision) you intended S = timestr(D,precision)
13年以上 前 | 2
回答済み
How do I create a string for a plot title from one fixed string and one I get from INPUT?
In addition to what Arnaud suggests, I also sometimes find it useful to keep a bit of name in the plot and change only the secon...
How do I create a string for a plot title from one fixed string and one I get from INPUT?
In addition to what Arnaud suggests, I also sometimes find it useful to keep a bit of name in the plot and change only the secon...
13年以上 前 | 2
回答済み
CSV vs MAT files
I think the answer to both (1) and (2) is .mat file. ASCII files (like CSV) require conversion to and from the format in memory ...
CSV vs MAT files
I think the answer to both (1) and (2) is .mat file. ASCII files (like CSV) require conversion to and from the format in memory ...
13年以上 前 | 1
| 採用済み
回答済み
polynomials fitting
say you have x = [1 2 3 4]; y = [8 12 16]; then you can fit a polynomial to the region you have data for (the first t...
polynomials fitting
say you have x = [1 2 3 4]; y = [8 12 16]; then you can fit a polynomial to the region you have data for (the first t...
13年以上 前 | 0
| 採用済み
回答済み
Is it possible to acquire and display real-time video from the VGA port of a notebook?
There are mechanisms for doing real-time video capture, yes. AFAIK VGA streams are rarely used in this way. If you have an an...
Is it possible to acquire and display real-time video from the VGA port of a notebook?
There are mechanisms for doing real-time video capture, yes. AFAIK VGA streams are rarely used in this way. If you have an an...
13年以上 前 | 1
| 採用済み
回答済み
Solving a simple equation
You can solve an equation algebraically using the symbolic math toolbox, e.g. to solve x+3=0 use: solve('x+3') You can so...
Solving a simple equation
You can solve an equation algebraically using the symbolic math toolbox, e.g. to solve x+3=0 use: solve('x+3') You can so...
13年以上 前 | 1
回答済み
How to convert RGB to ycbcr420?
http://www.mathworks.com/matlabcentral/newsreader/view_thread/161961
How to convert RGB to ycbcr420?
http://www.mathworks.com/matlabcentral/newsreader/view_thread/161961
13年以上 前 | 0
回答済み
3d representation of GPS coordinates
If you want something looking just like the figure you posted, you'll be wanting to use patch(), I suspect. The following might ...
3d representation of GPS coordinates
If you want something looking just like the figure you posted, you'll be wanting to use patch(), I suspect. The following might ...
13年以上 前 | 1
回答済み
how to display the end-effector position?
Hi Cheng If you're going to post code, I think you'll have to trim it down to the essentials if you want anyone to look at it...
how to display the end-effector position?
Hi Cheng If you're going to post code, I think you'll have to trim it down to the essentials if you want anyone to look at it...
13年以上 前 | 0