Gelöst


JOIN STRINGS
There are two given strings 'STRING1' and 'STR ING2'.|monospaced|The output should be 'STRING1 STR ING2' or STr1='Sum';STr2='EQU...

fast 10 Jahre vor

Gelöst


Alternately upper-lower case
Alternately upper-lower case Let s='achyuta' output='AcHyUtA'

fast 10 Jahre vor

Gelöst


Speed of light:Experiment
in 1849, Fizeau set up an experiment to measure the speed of light. The discription of this experiment can be found on wikipedi...

fast 10 Jahre vor

Gelöst


Rainbow matrix
Create a "rainbow matrix" as described in the following examples Input = 3 Output = [ 1 2 3 2 3 2 ...

fast 10 Jahre vor

Gelöst


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

fast 10 Jahre vor

Gelöst


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

fast 10 Jahre vor

Gelöst


find sum of the numbers in array
calculate the sum of numbers in a given array

fast 10 Jahre vor

Gelöst


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

fast 10 Jahre vor

Gelöst


Calculate volume of box
Calculate the volume of box,hiven its sides

fast 10 Jahre vor

Gelöst


square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

fast 10 Jahre vor

Gelöst


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

fast 10 Jahre vor

Gelöst


UICBioE240 problem 1.9
Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

fast 10 Jahre vor

Gelöst


Square root of a number
Write a code that will output the square root of x.

fast 10 Jahre vor

Gelöst


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

fast 10 Jahre vor

Gelöst


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

fast 10 Jahre vor

Gelöst


Find the number that has most primes those less than it
Given an vector x of integer numbers, find the element of x that has the most primes less than it.

fast 10 Jahre vor

Gelöst


Test within tolerance
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...

fast 10 Jahre vor

Beantwortet
Why isn't there any simple command to create a grouped boxplot in MATLAB yet?
Sure, there is matlab function specific for this: <http://www.mathworks.com/help/stats/boxplot.html> load carsmall boxp...

fast 10 Jahre vor | 3

| akzeptiert

Gelöst


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

fast 10 Jahre vor

Gelöst


Convert a vector of Integers into a matrix of binaries
Convert a vector of positive integers into a matrix containing their binary representation. Each column of the output contains t...

fast 10 Jahre vor

Beantwortet
DO i need to process the unit8 data when i use "trainautoencoder" function?
The trainAutoencoder accepts inputs of type single, double (and cell). So, just cast your data as double A=double(A); ...

fast 10 Jahre vor | 3

| akzeptiert

Gelöst


The sum of individual numbers...
Well this one is taking a number and then summing the individual parts till you reach a value of 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0...

fast 10 Jahre vor

Gelöst


A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

fast 10 Jahre vor

Gelöst


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

fast 10 Jahre vor

Gelöst


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

fast 10 Jahre vor

Gelöst


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

fast 10 Jahre vor

Beantwortet
I have to get the 8 overlapping neighbouring blocks for each 8x8 block of a 177x144 image. How can i get it
Given columns A,B,C etc just put them together H=[A,B,C] To do it programmatically, save you columns in a cell and then ...

fast 10 Jahre vor | 3

Beantwortet
How can I delete variables whose name contains a specific word?
The Matlab "clear" command accepts wildcards, so you can do clear *blue;

fast 10 Jahre vor | 3

| akzeptiert

Gelöst


Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

fast 10 Jahre vor

Mehr laden