Answered

WHY my matlab has encountered an internal problem and need to close when i open it??

You may be having an issue with opengl try starting MATLAB from a terminal matlab -softwareopengl

WHY my matlab has encountered an internal problem and need to close when i open it??

You may be having an issue with opengl try starting MATLAB from a terminal matlab -softwareopengl

4 years ago | 1

Answered

Warning: Name is nonexistent or not a directory

If you are in linux or Mac paths are case sensitive. rmpath('/home/psantos/Demos') addpath('/home/psantos/demos') w...

Warning: Name is nonexistent or not a directory

If you are in linux or Mac paths are case sensitive. rmpath('/home/psantos/Demos') addpath('/home/psantos/demos') w...

4 years ago | 0

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years ago

Submitted

Web Deployment Using MATLAB

A web-based gene analysis demonstration using MATLAB Builder for COM

4 years ago | 2 downloads |

Submitted

Access a MATLAB Compiler Generated DLL

Use WIN32 api to load Compiler generated dll at runtime.

4 years ago | 4 downloads |

Solved

Determine if input is odd

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

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

8 years ago

Answered

How do I pass an equation as a parameter to a class constructor?

You wouldn't pass something like 2x + 1 to <http://www.mathworks.com/help/techdoc/ref/diff.html DIFF>. DIFF expects a vector or...

How do I pass an equation as a parameter to a class constructor?

You wouldn't pass something like 2x + 1 to <http://www.mathworks.com/help/techdoc/ref/diff.html DIFF>. DIFF expects a vector or...

9 years ago | 0

Answered

How can I convert a large .mat file (> 400 MB) into an excel file or csv file?

You are probably getting this error: ??? Error using ==> xlswrite at 211 Excel returned: Error: Object returned error code...

How can I convert a large .mat file (> 400 MB) into an excel file or csv file?

You are probably getting this error: ??? Error using ==> xlswrite at 211 Excel returned: Error: Object returned error code...

9 years ago | 0

Answered

How do I get started with an augmented reality project?

Here is an <http://www.mathworks.com/videos/matlab/sudoku.html example> of a sudoko solver that implements a 2D solution. Her...

How do I get started with an augmented reality project?

Here is an <http://www.mathworks.com/videos/matlab/sudoku.html example> of a sudoko solver that implements a 2D solution. Her...

9 years ago | 0

Answered

How to save a GUI In Way that you can run it from another PCs?

You can redistribute MATLAB code and Guide guis using the <http://www.mathworks.com/products/compiler/ MATLAB Compiler>. This w...

How to save a GUI In Way that you can run it from another PCs?

You can redistribute MATLAB code and Guide guis using the <http://www.mathworks.com/products/compiler/ MATLAB Compiler>. This w...

9 years ago | 0

Answered

FOR EACH object in object

|for| in MATLAB behaves a lot like |FOR EACH|. If you say: for idx = 1:10 you are saying FOR EACH idx IN [1 2...

FOR EACH object in object

|for| in MATLAB behaves a lot like |FOR EACH|. If you say: for idx = 1:10 you are saying FOR EACH idx IN [1 2...

9 years ago | 2

Answered

How do I count the number of matching pairs in 2 vectors and use that as colors in a contour plot?

A = [1,2,5,1,6,2,8,2,9]; B = [3,4,2,3,7,4,5,4,8]; c = <http://www.mathworks.com/help/matlab/ref/accumarray.html |accum...

How do I count the number of matching pairs in 2 vectors and use that as colors in a contour plot?

A = [1,2,5,1,6,2,8,2,9]; B = [3,4,2,3,7,4,5,4,8]; c = <http://www.mathworks.com/help/matlab/ref/accumarray.html |accum...

9 years ago | 0

Answered

FIR Window - Taylor

The <http://www.mathworks.com/help/toolbox/signal/taylorwin.html |taylorwin|> documentation provides references for the signal p...

FIR Window - Taylor

The <http://www.mathworks.com/help/toolbox/signal/taylorwin.html |taylorwin|> documentation provides references for the signal p...

9 years ago | 0

| accepted

Answered

How can I get and set variables like PID parameters in a Simulink model from an mfile?

<http://www.mathworks.com/help/toolbox/simulink/slref/open_system.html |open_system|> <http://www.mathworks.com/help/toolbox/...

How can I get and set variables like PID parameters in a Simulink model from an mfile?

<http://www.mathworks.com/help/toolbox/simulink/slref/open_system.html |open_system|> <http://www.mathworks.com/help/toolbox/...

9 years ago | 1

Answered

How can I use dlmread to input data as single precision?

I think you want to use <http://www.mathworks.com/help/techdoc/ref/textscan.html |textscan|>. That will allow you to specify th...

How can I use dlmread to input data as single precision?

I think you want to use <http://www.mathworks.com/help/techdoc/ref/textscan.html |textscan|>. That will allow you to specify th...

9 years ago | 0

| accepted

Answered

Why do I get a "could not find version 7.14 of the MCR..." error when running my compiled compiled .exe?

There are <http://www.mathworks.com/help/toolbox/compiler/f12-999353.html really 2 things> that need to happen to run an applica...

Why do I get a "could not find version 7.14 of the MCR..." error when running my compiled compiled .exe?

There are <http://www.mathworks.com/help/toolbox/compiler/f12-999353.html really 2 things> that need to happen to run an applica...

9 years ago | 1

| accepted

Answered

The FIND command returns an empty matrix for a number I know exists

You are bumping into issues with floating point accuracy. Loren has a nice <http://blogs.mathworks.com/loren/2006/08/23/a-glimp...

The FIND command returns an empty matrix for a number I know exists

You are bumping into issues with floating point accuracy. Loren has a nice <http://blogs.mathworks.com/loren/2006/08/23/a-glimp...

9 years ago | 2

Answered

Can anyone explain how Sliceomatic works??

This slicebucky example that is in the download is a good example for getting started with sliceomatic. function slicebucky ...

Can anyone explain how Sliceomatic works??

This slicebucky example that is in the download is a good example for getting started with sliceomatic. function slicebucky ...

9 years ago | 1

| accepted

Answered

Is there a 100% stacked area chart in MALTAB?

You can use the <http://www.mathworks.com/help/techdoc/ref/area.html *AREA*> function: Y = [1, 5, 3; 3, 2, 7; 1...

Is there a 100% stacked area chart in MALTAB?

You can use the <http://www.mathworks.com/help/techdoc/ref/area.html *AREA*> function: Y = [1, 5, 3; 3, 2, 7; 1...

9 years ago | 1

Answered

Find position of the values of an array in a second array

This: dls(i)>=look(j) Should be: dls(i)>look(j) You might be able to write this functionality more compactly b...

Find position of the values of an array in a second array

This: dls(i)>=look(j) Should be: dls(i)>look(j) You might be able to write this functionality more compactly b...

9 years ago | 1

Answered

Why do I get the same numbers in "randn" function?

This is by <http://www.mathworks.com/help/techdoc/ref/randn.html design>: The sequence of numbers produced by randn is determin...

Why do I get the same numbers in "randn" function?

This is by <http://www.mathworks.com/help/techdoc/ref/randn.html design>: The sequence of numbers produced by randn is determin...

9 years ago | 0

Answered

help with fzero function

I think the issue is that you are using alphax but not passing parameters in trial0 here: A4 = sigma_e + ((1-0.14*(d/L))/...

help with fzero function

I think the issue is that you are using alphax but not passing parameters in trial0 here: A4 = sigma_e + ((1-0.14*(d/L))/...

9 years ago | 4

| accepted

Answered

MATLAB compiler/runtime & multiple processes (Windows x64)

Calls into a shared library are serialized from the host application. This doesn't always mean there is no parallelism. The ...

MATLAB compiler/runtime & multiple processes (Windows x64)

Calls into a shared library are serialized from the host application. This doesn't always mean there is no parallelism. The ...

9 years ago | 0

Answered

How do I make one legend on a figure with multiple subplots?

Something like this? <<http://files.me.com/toddf/feo4po>> subplot(4,3,kdx); plotmystuff(); % uses subplots 4-12 and...

How do I make one legend on a figure with multiple subplots?

Something like this? <<http://files.me.com/toddf/feo4po>> subplot(4,3,kdx); plotmystuff(); % uses subplots 4-12 and...

9 years ago | 3