Top 10% contributor
I've created a Java Package on Matlab. However, when try to call the created class from a java app, i get the error:
Asked 4 years ago
Sorry, i've sorted this now. It seems the update rolled back the version of java i had installed. I only realised this when i tr...
Answered 5 years ago
Hi, I've upgraded to 2011b but still have 2010b running on my windows machine (both are 64-bit). Code that connects fine with my...
Asked 5 years ago
Hi, If you're looking for unique rows (because A has 5.000 repeated), then you can call unique with rows as a flag. ie. A = un...
5 years ago
For some reason, matlab (version 2011a) won't launch on Mac OSX 10.6.8 (Intel core 2 duo). This has just happened this mo...
I'm trying to create an array of class objects that all inherit from the same superclass but they vary in their implement...
Given the input n, return true if n is odd or false if n is even.
4 years ago
Calculate the nth Fibonacci number.
Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ...
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Have you managed to figure this out yet? I've started using java as well now and am encountering problems.
Answered 4 years ago
Thanks for your help
I'm on 2010b. DO you where i can find some example code for doing what you suggested. I'v...
I'm trying to add a list of enumerators to class...see below for what i want
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries