Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mer än 11 år ago

Solved

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

mer än 11 år ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

mer än 11 år ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mer än 11 år ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

mer än 11 år ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mer än 11 år ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mer än 11 år ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mer än 11 år ago

Answered

how to set a mdceuser?

To change the user the MDCE service is running as you need to do the following on all the computers MDCE is running on. 1. Fr...

how to set a mdceuser?

To change the user the MDCE service is running as you need to do the following on all the computers MDCE is running on. 1. Fr...

mer än 11 år ago | 0

Answered

Simultaneously using both the local pool and a cluster pool

It is not possible to more than one |matlabpool| open at a time, and it is not possible to combine MATLABs from different cluste...

Simultaneously using both the local pool and a cluster pool

It is not possible to more than one |matlabpool| open at a time, and it is not possible to combine MATLABs from different cluste...

nästan 12 år ago | 0

Answered

Java userNodeForPackage function fails under Matlab on OS X

Are your classes on the <http://www.mathworks.com/help/techdoc/matlab_external/f4863.html#f4867 "dynamic" or "static" class path...

Java userNodeForPackage function fails under Matlab on OS X

Are your classes on the <http://www.mathworks.com/help/techdoc/matlab_external/f4863.html#f4867 "dynamic" or "static" class path...

nästan 12 år ago | 0

Answered

Matlab Mexfiles and Cuda: Evaluate function handle

You may want to look at the <http://www.mathworks.com/discovery/matlab-gpu.html GPU computing support available in Parallel Comp...

Matlab Mexfiles and Cuda: Evaluate function handle

You may want to look at the <http://www.mathworks.com/discovery/matlab-gpu.html GPU computing support available in Parallel Comp...

ungefär 12 år ago | 1

Answered

calling a java class from matlab

It depends on whether it has been packaged into a |.jar| file or is a |.class| file. Your class is called |hello.HelloWorld| I...

calling a java class from matlab

It depends on whether it has been packaged into a |.jar| file or is a |.class| file. Your class is called |hello.HelloWorld| I...

ungefär 12 år ago | 1

| accepted

Answered

Controlling stepsize of fmincon

Take a look at the documentation for |fmincon|: <http://www.mathworks.com/help/toolbox/optim/ug/fmincon.html#f854721> and the op...

Controlling stepsize of fmincon

Take a look at the documentation for |fmincon|: <http://www.mathworks.com/help/toolbox/optim/ug/fmincon.html#f854721> and the op...

ungefär 12 år ago | 2

Answered

use java classes in matlab

Try the following: % Generate the list of jar files jarDirectory = 'C:\Temp\httpcomponents-client-4.1.1\lib'; dirResult ...

use java classes in matlab

Try the following: % Generate the list of jar files jarDirectory = 'C:\Temp\httpcomponents-client-4.1.1\lib'; dirResult ...

ungefär 12 år ago | 3

| accepted

Answered

Create an array of file names produced by system('dir /S *.ext')

You can use <http://www.mathworks.com/help/techdoc/ref/textscan.html |textscan|> to split the multiple lines of output from the ...

Create an array of file names produced by system('dir /S *.ext')

You can use <http://www.mathworks.com/help/techdoc/ref/textscan.html |textscan|> to split the multiple lines of output from the ...

ungefär 12 år ago | 3

| accepted

Answered

Reading from comand prompt executables

I think you will have to look at using some Java classes to do this. The |ProcessBuilder| and |Process| classes will enable you ...

Reading from comand prompt executables

I think you will have to look at using some Java classes to do this. The |ProcessBuilder| and |Process| classes will enable you ...

ungefär 12 år ago | 0

Answered

"JVM is not running" Error When m file is called in thread function

It's fine to create new threads in MEX file, but accessing MATLAB in anyway, including making calls to the MEX API functions, fr...

"JVM is not running" Error When m file is called in thread function

It's fine to create new threads in MEX file, but accessing MATLAB in anyway, including making calls to the MEX API functions, fr...

ungefär 12 år ago | 1

| accepted

Answered

Can compiled MATLAB standalone make use of MDCS?

Since R2008b applications deployed using the MATLAB compiler can access a cluster running MATLAB Distributed Computing Server. ...

Can compiled MATLAB standalone make use of MDCS?

Since R2008b applications deployed using the MATLAB compiler can access a cluster running MATLAB Distributed Computing Server. ...

ungefär 12 år ago | 4

| accepted