Respondida
baffling... rounding error of not so small numbers
That's not unexpected at all. By taking the floor, you are pretending that floating point precision limits do not exist. In co...

casi 14 años hace | 0

Respondida
Getting different answers when using mldivide in parfor-loop compared to in "ordinary" script
I had a go on my own 64-bit 2011b running on Win7 platform. Same deal. I found the following in the release notes for MatLab 4...

casi 14 años hace | 0

| aceptada

Respondida
Why and how can i fix the vert cat error in this code? It works fine with a 3 len string but over that i get a vert cat error
What value of _s_ works, and what value of _s_ breaks? Is _s_ a string or an array of numbers? You need to ensure that len...

casi 14 años hace | 0

Respondida
Shape Recognition, hough transform
You could look at this code on FileExchange, which appears to support triangles and squares: <http://www.mathworks.com/matlab...

casi 14 años hace | 0

Respondida
Passing xtra parameter
That doesn't look right. I am guessing you intended to do the following: function y = parameterfun(x,a,b,c) y = (a - ...

casi 14 años hace | 0

Respondida
How do I modify this small code to be able to extract data to a matrix and not a buffer?
*Part 1*: Slightly inefficient, but not really a problem. You can just split each line using _strread_ and grow the _adj_close_...

casi 14 años hace | 0

| aceptada

Respondida
draw a circle in matlab
There is this code on FileExchange: <http://www.mathworks.com/matlabcentral/fileexchange/2876>

casi 14 años hace | 0

Respondida
Looping problem need guide.
So you mean that you want the number of 1's in _DG_ to be equal to _edges_? I would say that *if*-condition is preventing som...

casi 14 años hace | 1

| aceptada

Respondida
How to use variable in a function?
A lot of people may ignore this question because it's about programming rather than MatLab, specifically... But it would help y...

casi 14 años hace | 0

| aceptada

Pregunta


How do I get MCR to look for my MEX files in the current directory?
I have included a mex file with my deployed app, but when running the mexed function, I get the error: "An error occurred: ...

alrededor de 14 años hace | 1 respuesta | 0

1

respuesta

Respondida
“if” statement using “or” operator.
So you want the last index within the valid range? I don't know why you are multiplying by 1.01 and 0.99. Perhaps you have d...

alrededor de 14 años hace | 2

Respondida
subs Command
From your description I gather that you want to swap out a range of values from an array into new indices within that array. Yo...

alrededor de 14 años hace | 0

| aceptada

Respondida
using logic operators
There's a few odd things going on here... First, the valid range for j as used here is 1:4, not 1:5 for a 4x5 matrix. As f...

alrededor de 14 años hace | 0

Respondida
Just learning matlab question
It's hard to answer this without giving you the answer... =) But here goes an attempt... You can do boolean operations on a ...

alrededor de 14 años hace | 0

| aceptada

Respondida
Error loading TreeBagger from .MAT file in deployed app.
Just for completeness, I'll post the solution from _owr_'s linked article.... The class definition must be imported by includ...

alrededor de 14 años hace | 0

Respondida
remove rows with certain element in cell arrays
Did you mean to write: x{:,3}=='Hourly' The curly-braces thing trips me up all the time =)

alrededor de 14 años hace | 0

| aceptada

Pregunta


Error loading TreeBagger from .MAT file in deployed app.
Hiya =) I've been browsing the forums looking for information on this... When run in MatLab my app works fine. But when i...

alrededor de 14 años hace | 2 respuestas | 0

2

respuestas

Pregunta


MCC 64-bit target doesn't recognise supplied MCR
Howdy, In brief: My deployed 64-bit application complains that the correct version of MCR is not available. My application...

alrededor de 14 años hace | 2 respuestas | 0

2

respuestas