Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

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

casi 13 años hace | 0

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

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

casi 13 años hace | 0

| aceptada

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Respondida
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));

casi 13 años hace | 0

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

casi 13 años hace | 2

| aceptada

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

casi 13 años hace | 0

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

Resuelto


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

casi 13 años hace

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

casi 13 años hace | 0

| aceptada

Resuelto


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

casi 13 años hace

Cargar más