Solved


Binary Coder
Take an input number and print the binary value of this number.

11 years ago

Solved


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

11 years ago

Solved


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

11 years ago

Solved


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

11 years ago

Solved


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

11 years ago

Solved


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

11 years ago

Solved


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

11 years ago

Solved


Complex number
For complex number c=a+bi, write code that will add a and b together.

11 years ago

Solved


length of a vector
Find twice the length of a given vector.

11 years ago

Solved


Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

11 years ago

Solved


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

11 years ago

Solved


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

11 years ago

Solved


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

11 years ago

Solved


matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...

11 years ago

Solved


Rounding
Round 10.67 and make 'y' equal to that number.

11 years ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

11 years ago

Solved


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

11 years ago

Solved


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

11 years ago

Solved


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

11 years ago

Solved


Concatenate string with cell array of strings
Given a cell array of strings (a), a target string (b), and a target position (ind), return a cell array of strings (c) in which...

11 years ago

Problem


Concatenate string with cell array of strings
Given a cell array of strings (a), a target string (b), and a target position (ind), return a cell array of strings (c) in which...

11 years ago | 1 | 74 solvers

Solved


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

11 years ago

Solved


Concatenate two strings
Its very easy. Just concatenate two strings.

11 years ago

Question


How to get confidence values for detections from vision.CascadeObjectDetector System object?
First, I run <http://www.mathworks.com/help/vision/ref/traincascadeobjectdetector.html trainCascadeObjectDetector> on a custom s...

11 years ago | 1 answer | 0

1

answer

Question


Am I computing cross entropy incorrectly?
I am working on a neural network and would like to use cross entropy as my error function. I noticed from <http://www.mathworks....

12 years ago | 4 answers | 0

4

answers

Answered
Does order of multiplication in a for loop matter?
I think this may be a case of <http://www.mathworks.com/help/symbolic/recognize-and-avoid-roundoff-errors.html round-off error>....

12 years ago | 0

Question


Can MATLAB/Simulink perform high-level stress analysis of mechanical assemblies?
I apologize in advance if this question lacks clarity because I'm not even entirely sure what my desired solution looks like. To...

12 years ago | 1 answer | 0

1

answer

Answered
if i like to write code for genetic algorithm where i have to start?
I like <http://www.amazon.com/Introduction-Evolutionary-Computing-Natural/dp/3540401849 Introduction to Evolutionary Computing> ...

12 years ago | 1

| accepted

Answered
While Loops - TextBook Example
2^2=4 4^2=16 16^2=256 256>200

12 years ago | 1

Question


Is there a good method for painting over an image in a MATLAB GUI without lag?
I am working on a computer vision project that requires hand-labeled data. To acquire this data, I created a MATLAB GUI that tak...

12 years ago | 2 answers | 2

2

answers

Load more