Community Profile

photo

Adam Hug

MathWorks

Last seen: más de 1 año ago Active since 2015

Software Developer for Optimization Toolbox

Statistics

All
  • Personal Best Downloads Level 1
  • First Review
  • First Submission
  • Solver
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Solved


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

casi 5 años ago

Submitted


Simulate a Faraday Cage using Constrained Quadratic Programming
This script demonstrates how to simulate electromagnetic shielding of a Faraday cage.

más de 6 años ago | 1 download |

Thumbnail

Answered
Sample time Propagation Error - The sample time after propagation is [0, 0]. Enter a discrete sample time
Hi Vignesh, Here is the doc page on how Simulink propogates sample times: <http://www.mathworks.com/help/simulink/ug/how-p...

alrededor de 7 años ago | 0

Answered
Update License without GUI
Hi Anton, I don't believe this is possible based on the information here: <http://www.mathworks.com/help/matlab/matlab_env...

alrededor de 7 años ago | 0

| accepted

Answered
How to adjust the position and size of preview image in custom preview window?
The "gca" commands all apply to the current axis in the current figure. Make sure that the axis you are trying to modify is ind...

alrededor de 7 años ago | 0

Answered
Permission denied when i try to install app on Matlab (linux 64-bit)
It looks like you are trying to install the app without sufficient privileges. Try running MATLAB as an administrator and insta...

alrededor de 7 años ago | 0

Answered
GPU training of neural network with parallel computing toolbox unreasonably slow, what am I missing?
I suspect the problem size of 900 values may be too small for you to benefit from GPU architecture. Especially since you can ea...

alrededor de 7 años ago | 0

Answered
Save figure as image in R2014b without causing legend customization to revert
I think a better way of doing this is to adjust the linewidth of your plot. For example, hold on plot(t, sin(t), 'Lin...

alrededor de 7 años ago | 0

Answered
Why "bi2de" function returned argument type error when I ran example code from ">>help comm.CRCgenerator"
I was unable to reproduce this error message on my version of R2015a. Perhaps there is something in your workspace or MATLAB pa...

alrededor de 7 años ago | 0

Answered
Using arrow keys to change value
There is no way to do this in MATLAB without writing a UI. You can come close to this behavior by doing xpos = xpos + 1 in the ...

alrededor de 7 años ago | 0

Answered
mex setup .rvm resource temporarily unavailable
I'm not sure if you have seen the doc pages on mex with CUDA, but try following the steps given here: <http://www.mathworks.c...

alrededor de 7 años ago | 0

Answered
Exporting data while 'live' processing in a GUI
Before investing a lot of effort into coding this up, try running a simple experiment where you save one frame every 1/60 of a s...

alrededor de 7 años ago | 0

| accepted

Answered
How to draw a ROI (rectangle) in an image and get the coordinates
I believe you can simplify your code by using the "rbbox" command in MATLAB. See the following doc link for more information: ...

alrededor de 7 años ago | 1

Answered
Fitting of parameters of function with discrete / integer argument
Based on your question, I am assuming that you are trying to fit a discrete curve. This is a hard problem in general but you ca...

alrededor de 7 años ago | 0

Answered
How can I create a 3d plot with each vector displayed as an arrow, and one line connecting the tail to tip?
It sounds like the "quiver3" function is what you are looking for. Check out this doc link for the details: <http://www.math...

alrededor de 7 años ago | 1

Answered
ALSA lib pcm Error
Try increasing the value of the latency that the audio device runs at. To do this, execute the following steps : # Navigate t...

alrededor de 7 años ago | 0

| accepted

Answered
conditional mean and variance-co-variance matrix
For the AR model, you can call the "estimate" function to generate an ARIMA/GARCH model object as well as the conditional varian...

alrededor de 7 años ago | 0

Answered
How do I append data to a MAT file from C++?
I think your best bet will be to use MATLAB Engine. This is an API that lets you run MATLAB commands using C/Fortran programs. ...

alrededor de 7 años ago | 0

Answered
Display Geographic Raster Data
I believe that you are receiving this error because the intrinsic coordinate system of your image does not make sense in a geogr...

alrededor de 7 años ago | 0

Answered
compiler 'Microsoft Visual C++ 2013 Professional (C)'
You could try making the directory _C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\_ and copy and paste the co...

alrededor de 7 años ago | 0