photo

Adam Hug

MathWorks

Last seen: meer dan 3 jaar ago Active since 2015

Followers: 0   Following: 0

Message

Software Developer for Optimization Toolbox

Statistics

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

View badges

Feeds

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

ongeveer 7 jaar ago

Submitted


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

meer dan 8 jaar ago | 3 downloads |

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

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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 ...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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: ...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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. ...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar ago | 0