Gelöst


Given two strings, find the maximum overlap
Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...

fast 13 Jahre vor

Gelöst


Calculate the Levenshtein distance between two strings
This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

fast 13 Jahre vor

Gelöst


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

fast 13 Jahre vor

Gelöst


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

fast 13 Jahre vor

Gelöst


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

fast 13 Jahre vor

Beantwortet
Problem Multiplying- mtimes doesn't work for cells
Two things: 1) You might want to change the variable name "prod" to something else. "Prod" is a built-in matlab function that...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
Create a graph with date axis
help datetick Also: http://www.mathworks.com/help/matlab/ref/datetick.html

fast 13 Jahre vor | 0

| akzeptiert

Gelöst


Count consecutive 0's in between values of 1
So you have some vector that contains 1's and 0's, and the goal is to return a vector that gives the number of 0's between each ...

fast 13 Jahre vor

Gelöst


Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...

fast 13 Jahre vor

Gelöst


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

fast 13 Jahre vor

Beantwortet
Writing a set of functions and equations to calculate temperture
Some hints: - Your function is going to have two inputs: a numerical temperature value and a string character that is either ...

fast 13 Jahre vor | 0

Gelöst


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

fast 13 Jahre vor

Gelöst


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

fast 13 Jahre vor

Gelöst


Longest Divisor Run
Given the vector a, find the longest run of consecutive numbers that can be evenly divided by the same number d where d > 1. ...

fast 13 Jahre vor

Gelöst


Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

fast 13 Jahre vor

Beantwortet
Without using the roots command, write a function to calculate roots of the quadratic equation
No need to call any built-in function. Just write your own using the quadratic formula.

fast 13 Jahre vor | 0

| akzeptiert

Gelöst


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

fast 13 Jahre vor

Gelöst


Generate the Matrix!
Given n, generate the following matrix: a = [ n n-1 n-2 ... 2 1; n-1 n-1 n-2 ... 2 1; n-2 n-2 n-2 ... 2 1;...

fast 13 Jahre vor

Gelöst


Creating a s-function for RTW
I need to create a simulink block that will behave differently depending on whether I am simulating the model or building code. ...

fast 13 Jahre vor

Beantwortet
How do i reconstruct a matrix???
M(:,:,2) = flipud(M(:,:,2)) As an example: M = rand(3,3,3); %random example 3d matrix M(:,:,2) = flipud(M(:,:,2));

fast 13 Jahre vor | 0

Beantwortet
handles using GUIDE, global vs. handles
Using the handles structure is a much more neat, simple and safe way of using variables in different functions. It also helps th...

fast 13 Jahre vor | 2

| akzeptiert

Beantwortet
have a figure slide under another
Does this work? % Example f = figure; % create first figure g = figure; % create second figure (appears in front of f...

fast 13 Jahre vor | 0

Gelöst


Calculate the nth Fibonacci number USING 'Golden Ratio' concept
f = [1 1 2 3 5 8 13 ...] If n=6, f(6)=8

fast 13 Jahre vor

Gelöst


Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

fast 13 Jahre vor

Gelöst


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

fast 13 Jahre vor

Gelöst


Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

fast 13 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 13 Jahre vor

Gelöst


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

fast 13 Jahre vor

Beantwortet
command window not refreshing
Does this topic address your issue? http://www.mathworks.com/matlabcentral/answers/79489-java-1-6-0_51-breaks-matlab-2012b-an...

fast 13 Jahre vor | 0

| akzeptiert

Gelöst


Person of interest?
given a person_of_interest, what is his_name?

fast 13 Jahre vor

Mehr laden