photo

Jordan


Actif depuis 2011

Followers: 0   Following: 0

Statistiques

All
  • Thankful Level 1
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


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

plus de 8 ans il y a

Question


Adding directories to MCC with symbolic links
Running mcc on linux x86_64 using R2010b. I am trying to add a directory structure to mcc command with '-a'. Inside one of th...

plus de 9 ans il y a | 1 réponse | 0

0

réponse

A résolu


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


Stuff the Board
You have a stack of tiles to put onto an array-like playing board. Each tile has a number (always an integer), and the board var...

presque 10 ans il y a

A résolu


Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

presque 10 ans il y a

A résolu


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

presque 10 ans il y a

A résolu


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

presque 10 ans il y a

A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

presque 10 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

presque 10 ans il y a

Question


MCR using custom Java archives (jar)
I am trying to use deploytool to deploy an application with custom built java jar archives. The issue is that we include a bunch...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Using MEX compiler options "-Dname=value"
Pierre, your addendum assumption was more correct. I needed to determine the right escape sequence. The following works, but cou...

presque 13 ans il y a | 0

Question


Using MEX compiler options "-Dname=value"
Hi, I am trying to compile a mex cpp function which I need to define a preprocessor symbol (i.e. mex -DXX="I AM A STRING" xxx...

presque 13 ans il y a | 3 réponses | 0

3

réponses