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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

| akzeptiert

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

fast 14 Jahre vor | 0

| akzeptiert

Frage


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

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 14 Jahre vor | 2

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

Beantwortet
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 =)

etwa 14 Jahre vor | 0

| akzeptiert

Frage


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

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten