Respondida
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}

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 3

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 1

| aceptada

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

casi 12 años hace | 1

| aceptada

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 2

| aceptada

Respondida
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/>

casi 12 años hace | 0

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

casi 12 años hace | 1

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 2

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

casi 12 años hace | 1

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 1

| aceptada

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

Respondida
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(:)

casi 12 años hace | 0

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

casi 12 años hace | 1

| aceptada

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

casi 12 años hace | 0

Cargar más