回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

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

約14年 前 | 0

回答済み
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 - ...

約14年 前 | 0

回答済み
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_...

約14年 前 | 0

| 採用済み

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

約14年 前 | 0

回答済み
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...

約14年 前 | 1

| 採用済み

回答済み
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...

約14年 前 | 0

| 採用済み

質問


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

約14年 前 | 1 件の回答 | 0

1

回答

回答済み
“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...

約14年 前 | 2

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

回答済み
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 ...

約14年 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

回答済み
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 =)

約14年 前 | 0

| 採用済み

質問


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

約14年 前 | 2 件の回答 | 0

2

回答

質問


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

約14年 前 | 2 件の回答 | 0

2

回答