Gelöst


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

mehr als 9 Jahre vor

Gelöst


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

mehr als 9 Jahre vor

Gelöst


Create a matrix with difference of each row of input matrix
With a given input matrix A, create a output matrix B in such a way that each row in B is a difference of rows of input matrix A...

mehr als 9 Jahre vor

Gelöst


Percentage profit:3
x% product is sold at r1% profit. However, our target overall profit is rt%. What is the required percentage profit to meet the ...

mehr als 9 Jahre vor

Gelöst


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

fast 10 Jahre vor

Gelöst


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

fast 10 Jahre vor

Gelöst


expand intervals vol.2
Similar to problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2528 2528>. This is a more general case, when bounds ...

fast 10 Jahre vor

Gelöst


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

fast 10 Jahre vor

Gelöst


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

fast 10 Jahre vor

Gelöst


Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

fast 10 Jahre vor

Gelöst


count any radix?
given radix r(2-9), digts d(1-4), give all possible strings in sorted order. for example, if r=2, d=2, then output {'00' '01' '1...

fast 10 Jahre vor

Gelöst


DC-DC boost converter
Find the output voltage of a DC-DC boost converter when its input voltage is 12V and the duty cycle ratio is 0.6.

fast 10 Jahre vor

Gelöst


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

fast 10 Jahre vor

Gelöst


Calculate the logarithm of number
Calculate the logarithm of number x

fast 10 Jahre vor

Gelöst


Create a code for XNOR
Given two inputs, output XNOR of those two

fast 10 Jahre vor

Gelöst


Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Input is each coefficient of polynomial. For example, a=[4 ...

fast 10 Jahre vor

Gelöst


Number of primes
Count the number of primes less than 'n'.

fast 10 Jahre vor

Gelöst


Slope of the line passing through two points
Determine the slope of a line passing through the points a=[x1 y1] and b=[x2 y2].

fast 10 Jahre vor

Gelöst


multiply 2 by 2
multiply 2 by 2

fast 10 Jahre vor

Gelöst


sum as columns
sum as columns.

fast 10 Jahre vor

Gelöst


Einsteinium-253 decay
Radioactive Einsteinium-253 has a half-life of 1,768,608 seconds. Given 1000mg of Einsteinium-253 at t=0 days, how much is lef...

fast 10 Jahre vor

Gelöst


Convert hex color specification to MATLAB RGB
Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

fast 10 Jahre vor

Gelöst


Double Deal
*Description* Given an input vector _v_, return the first element as the first output, the second element as the second outpu...

fast 10 Jahre vor

Gelöst


y=x
y=x

fast 10 Jahre vor

Frage


Close result window of toolbox result
Hi, after running some toolbox of MATLAB. Result window is appearing at every iternation in code. I want to close it. I have tri...

fast 10 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Bad clarity using export_fig
In figure window, file-> Save as-> Check option for PDF. It will be better quality. In case, if you are using Latex, then ...

fast 10 Jahre vor | 0

Beantwortet
Matlab GUI - Enter variable name in the Edit Text box
You can save in .mat file and load data in script. check doc save and doc load in matlab command

fast 10 Jahre vor | 0

Gelöst


Create vector as shown in test cases
Create vector as shown in test cases

fast 10 Jahre vor

Problem


Create vector as shown in test cases
Create vector as shown in test cases

fast 10 Jahre vor | 3 | 254 Lösungsvorschläge

Gelöst


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

fast 10 Jahre vor

Mehr laden