Community Profile

photo

James


Texas A&M University

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Is the answer to the following question is still valid? (How Parallel Computing Toolbox works with MCR?)
http://www.mathworks.com/matlabcentral/answers/48562-how-parallel-computing-toolbox-works-with-mcr BTW, I paid and used ...

9 years ago | 0 answers | 0

0

answers

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

11 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

11 years ago

Solved


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

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

11 years ago

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

11 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

11 years ago

Solved


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.

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

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

11 years ago

Solved


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

11 years ago

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

11 years ago

Answered
pseudo-random number generator rand() in .mex
Thanks. If I use the following mex function, seedit_mex, to set the seed each time before calling rand() in another mex functio...

13 years ago | 0

Question


pseudo-random number generator rand() in .mex
In standard C, the following code generate 5 random numbers. #include <stdio.h> #include <stdlib.h> int main (int argc, char ...

13 years ago | 2 answers | 0

2

answers