**Feeds**

提问

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 years 前 | 1 个回答 | 0

### 1

个回答提问

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

12 years 前 | 0 个回答 | 1

### 0

个回答提问

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

12 years 前 | 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, ...

12 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 0

已回答

How do I create a Filter that takes out irrelevant data?

Hi Ian There's some information missing from your question, but it sounds like you're looking to interpolate a large amount o...

How do I create a Filter that takes out irrelevant data?

Hi Ian There's some information missing from your question, but it sounds like you're looking to interpolate a large amount o...

13 years 前 | 0

已回答

Put figures (.fig) in one page

There is an easy way, which depends a bit on what you've got in your figures. Assuming you've only got 1 axis per figure, this w...

Put figures (.fig) in one page

There is an easy way, which depends a bit on what you've got in your figures. Assuming you've only got 1 axis per figure, this w...

13 years 前 | 0

已回答

Can this code be improved?

This way of doing processing, unfortunately because it's the easiest to program, is the slowest way to get things done in Matlab...

Can this code be improved?

This way of doing processing, unfortunately because it's the easiest to program, is the slowest way to get things done in Matlab...

13 years 前 | 0

| 已接受

已回答

Using Boost Libraries with Mex function in MATLAB

Yup. Find your mexopts file (mexopts.bat, since you seem to be on Windows, which you'll find at something like c:\users\craig\ap...

Using Boost Libraries with Mex function in MATLAB

Yup. Find your mexopts file (mexopts.bat, since you seem to be on Windows, which you'll find at something like c:\users\craig\ap...

13 years 前 | 0