Resuelto


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

alrededor de 12 años hace

Resuelto


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

alrededor de 12 años hace

Respondida
What should I do to display some information multi-line on the static text in the GUI?
if you want to append to existing string, get the string first and then append required data and display it. Example: for ...

alrededor de 12 años hace | 1

| aceptada

Respondida
Function xlsread too slow
you can use activeX servers.Example: http://www.mathworks.com/matlabcentral/answers/94822

alrededor de 12 años hace | 0

| aceptada

Resuelto


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

alrededor de 12 años hace

Resuelto


inner product of two vectors
inner product of two vectors

alrededor de 12 años hace

Respondida
how can i create in gui a pushbutton which has 2 callbacks and executes his second callback after a long press of 2 second?
Do you have any reasons for not using a toggle switch?

alrededor de 12 años hace | 0

| aceptada

Respondida
I want to make this signal to that signal , What should I do?
You should use a Relational Operator, and a Combination of Unit Delay and Relational Operator to do this.

alrededor de 12 años hace | 0

Respondida
How to simply add the date to a file name when saving a file.
get the datestring above, make the filename as per your need with the datestring. eg: FileName=['proj',datestr(now, 'dd-...

más de 12 años hace | 4

| aceptada

Respondida
I WANT A CODE
If you have Communication Toolbox, all standard modulation and de-modulation functions are defined in that. If you do not have i...

más de 12 años hace | 1

| aceptada

Respondida
create a matrix with existing matrix
C and D have same number of rows. Similarly A and B have same number of rows. So C to D is straightforward since number of row...

más de 12 años hace | 1

| aceptada

Respondida
Print array value into excel
You want to write this into an Excel File? ExcelData=[1:7]'; xlswrite(ExcelFileName,ExcelData); will do.

más de 12 años hace | 0

| aceptada

Respondida
summation and products of series in matlab
If the series is an array, you could just do a sum(Array) or prod(array) to get the results.

más de 12 años hace | 0

Respondida
HOW TO CALL AN EXTARNAL FUNCTION INTO A PUSHBUTTON CALLBACK FUNCTION
You can just have a function call to that function with necessary inputs. support you want to pass im to the function function1(...

más de 12 años hace | 0

Resuelto


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

más de 12 años hace

Resuelto


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

más de 12 años hace

Resuelto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

más de 12 años hace

Resuelto


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

más de 12 años hace

Resuelto


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

más de 12 años hace

Resuelto


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

más de 12 años hace

Resuelto


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

más de 12 años hace

Resuelto


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

más de 12 años hace

Resuelto


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

más de 12 años hace

Resuelto


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

más de 12 años hace

Resuelto


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

más de 12 años hace

Resuelto


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

más de 12 años hace

Resuelto


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

más de 12 años hace

Resuelto


Calculate the height of an object dropped from the sky
Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that t...

más de 12 años hace

Resuelto


Finding peaks
Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; ...

más de 12 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. * ...

más de 12 años hace

Cargar más