Beantwortet
undefined function 'minus' for input arguments of type table
You can use curly braces {} to index into the elements of a table T{3,4}

fast 12 Jahre vor | 0

Beantwortet
Syntax error , Component: Simulink, Category: Block error
Looks okay to me as long as all numbers are scalars. If they are vectors or matrices, then you should add a . before the operat...

fast 12 Jahre vor | 0

Beantwortet
Is it possible to call a matlab graph within the form of C #?
Sure, pretty much anything you can do with MATLAB, you can do via the MATLAB Engine.

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
quiver arrows always appear below semitransparent layer
Probably an OpenGL issue but one thing you can do is use |quiver3| with z set to some positive amount greater than the max of su...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Nonlinear constrained vector optimization using Optimization Toolbox
>>dbstop if error Then run the code. This will stop on the line throwing the error and you can look at the index v. the si...

fast 12 Jahre vor | 3

Beantwortet
Spring Mass Problem - Code not working
The code above is part of the MuPad language and needs to be run *inside* of a MuPad notebook, not at the MATLAB command prompt....

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Loop through Matrix, to create multiple matrices from every nth row
What do you want to do with these matrices? Often, for this I would suggest crating a 16x19xp array where each slice in the thi...

fast 12 Jahre vor | 1

| akzeptiert

Beantwortet
The largest and smallest numeric value in the array
|max()| and |min()|

fast 12 Jahre vor | 1

| akzeptiert

Beantwortet
Working with uicontrol / Working wihout GUIDE
When working outside of GUIDE, the handles structure is not implicitly passed in to the callback. Just the source and event dat...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Label Rotation in MATLAB 2014
In R2014a, you need to replace the tick labels with text which can be rotated. here are a few utilities to help: <http://www...

fast 12 Jahre vor | 0

Beantwortet
Store variable to file in Simulink
Why not make _vec_ a second output of the function&block and then use the "To File" block?

fast 12 Jahre vor | 0

Beantwortet
MATLAB usage in industry.
<http://www.mathworks.com/company/user_stories/index.html> Look at the "Browse Stories" drop down to browse by whatever topic...

fast 12 Jahre vor | 2

| akzeptiert

Beantwortet
how can i generate dll from .m function?
You can use MATLAB Compiler or perhaps MATLAB Coder to do this. <http://www.mathworks.com/products/compiler/>

fast 12 Jahre vor | 0

Beantwortet
Averaging in a cell array
If you convert that to a table (cell2table) and covert the feelings to a |categorical|, you can then use |grpstats| and |varfun|...

fast 12 Jahre vor | 1

Beantwortet
fastest way to read single tiff images
Consider using |blockproc| with the _'UseParallel'_ option enabled (if you have Parallel Computing Toolbox). This will do the...

fast 12 Jahre vor | 0

Beantwortet
Source of Futures data
If you have the Datafeed Tooblox, |yahoo| can be used. If you do not, then perhaps this could help: <http://www.mathworks.co...

fast 12 Jahre vor | 0

Beantwortet
Does curve fitting toolbox support 3D points?
|lsqcurvefit| in the Optimization Toolbox or |NonLinearModel.fit| in the Statistics Toolbox.

fast 12 Jahre vor | 2

Beantwortet
Can you set figure axis properties without using gca as argument to the set command?
I think you're misunderstanding the handle and output from get. axHandle = gca Will give you the handle to the axes. Yo...

fast 12 Jahre vor | 1

Beantwortet
Why mafdr works only for one threshold?
My guess is you've accidentally shadowed one of the earlier functions used by |mafdr|'s |storeyFDR| so that it's calling your fu...

fast 12 Jahre vor | 0

Beantwortet
Set a time limitation on algorithms
|tic| and |toc| is one way, probably the easiest.

fast 12 Jahre vor | 0

Beantwortet
use pol2cart with not equal arguments
tic [rr, thth] = meshgrid(1:100,1:1024); [x,y] = pol2cart(rr,thth); toc Taking a few thousanths of a second on my laptop...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Is there any possibility that a Matlab code which runs perfectly fine in 32bit system gives error in 64 bit system?
My guess is this has nothing to do with bitness but more likely an error in your code that is being reached by a different code ...

fast 12 Jahre vor | 0

Beantwortet
Hi, I request you to please explain the meaning of this statement.
Break it into pieces! >>pwd What does this return? >>fullfile(pwd,'MyFolder') What happens now? For something...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
How to use variables as filename when saving to a .txt file?
I assume Machine = 'Alpha' Where _Alpha_ is a string rather than variable. The easiest way is with |sprint| Date = ...

fast 12 Jahre vor | 1

| akzeptiert

Beantwortet
Why is sort() taking longer to resolve on multiples of 512?
I don't think |sort| has anything to do with the behavior you are seeing. Look at what happens if you preallocate _out_ ...

fast 12 Jahre vor | 0

Beantwortet
4D plot using 3D array
I would use |slice()| (or maybe an |isosurface|) to slice it across various planes. A 3d scatter plot that size will look like ...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
How can I solve an equation with variables?
I think you want c=fsolve(@(xx)ff(xx,a,b),1); This will capture a and b in an anonymous function and pass it into ff.

fast 12 Jahre vor | 0

Beantwortet
Store for loop vector output into one column
doc reshape Example: m = magic(4) v = reshape(m,[],1) Or if nothing fancy is needed v = m(:)

fast 12 Jahre vor | 0

Beantwortet
Translate the origin of a STL file
Your logic and algorithm implementation look correct to me. I believe the problem is coming from the way you import the STL fil...

fast 12 Jahre vor | 1

| akzeptiert

Beantwortet
Sort using flow control
function sorted = mysort(x) sorted = sort(x); end

fast 12 Jahre vor | 0

Mehr laden