-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have some Matlab functions defined in .m files and I'd like to import them into Matlab (as in I'd like them to form part of the commands). Is this possible please and how can I do this?
Thank you very much and regards,
Krt_Malta
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hi,
i have a very big problem.
ich wrote a programm which is using a matlab dll. i build some classes with the matlab .net builder. it runs on my pc :)
the problem is, i want to use ist on a pc without matlab. so i installed mcr, but it dont run :(
what are the steps i should do? the system variable…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All!
I'm having an issue interacting between Matlab and .NET. I've managed to call .NET methods from Matlab code and vice versa. However, if I call a .NET method that, in turn, instantiates a Matlab object, it crashes (with a type initialization exception).
Think about this scenario: a .NET…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
when i tried to update some part of a matrix, i got the following error message:
??? Assignment has fewer non-singleton rhs dimensions than non-singleton subscripts
My code tries to update some values of a matrix that represent a binary image. My code is as follows:
outImage(3:5,2:4,1) =…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I tried to update some part of a matrix, I got the following error message:
??? Assignment has fewer non-singleton rhs dimensions than non-singleton subscripts
My code tries to update some values of a matrix that represent a binary image. My code is as follows:
outImage(3:5,2:4,1) = max(imBinary(3:5…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Forgive me if this is redundant or super basic. I'm coming to Python/Numpy from R and having a hard time flipping things around in my head.
I have a n dimensional array which I want to sort using another n dimensional array of index values. I know I could wrap this in a loop but it seems like there…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I'm trying to sort a multidimensional array in objective-c i know that i can sort a single dimensional array using the line of code below:
NSArray *sortedArray = [someArray sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)];
I can't seem to figure out how to sort a 2D array like…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a php form that has a known number of columns (ex. top diameter, bottom diameter, fabric, colour, quantity), but has an unknown number of rows, as users can add rows as they need.
I've discovered how to take each of the fields(columns) and place them into an array of their own.
<input…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I am playing around with multidimensional array of unequal second dimension size.
Lets assume that I need the following data structure:
[&ptr0]-[0][1][2][3][4][5][6][7][8][9]
[&ptr1]-[0][1][2]
[&ptr2]-[0][1][2][3][4]
int main()
{
int *a[3];
int *b;
int i;
a[0] = (int *)malloc(10…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an array like this:
$a = array (
0 => array ( 'value' => 'America', ),
1 => array ( 'value' => 'England', ),
2 => array ( 'value' => 'Australia', ),
3 => array ( 'value' => 'America', ),
4 => array ( 'value' => 'England', ),
5 =>…
>>> More