Resuelto


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

más de 9 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 9 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 9 años hace

Resuelto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

más de 9 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 9 años hace

Resuelto


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

más de 9 años hace

Resuelto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

más de 9 años hace

Resuelto


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

más de 9 años hace

Respondida
Matlab Crash: Results in System error
You should refer to the third last paragraph i.e. contact Mathworks technical support. They are always best placed to deal with ...

más de 9 años hace | 0

Respondida
Matlab Deployment -- delete additional setting files
You can't. There is absolutely no way that the uninstall wizard can know what magic you have done inside your program and what f...

más de 9 años hace | 0

Respondida
we want to create a logic gate simulator using gui
You could use Simulink as it has everything you need; logic, switches and gauges. It would take about 10 seconds to produce that...

más de 9 años hace | 0

Respondida
Release a toolbox license when it has been used in a GUI
No I do not think this is possible. The license would only be returned either when the user closes down MATLAB or after a certai...

más de 9 años hace | 0

Respondida
Importing JAVA class to Matlab - Error
This is probably a Java version mismatch. It sounds like you might have compiled using a newer version of Java (possibly JDK 1.8...

más de 9 años hace | 0

Respondida
I want to only fft last half of data from simulink
The (end/2:end) indexing syntax will fail if you have an odd number of elements in your array. You would need to handle this cas...

más de 9 años hace | 0

Respondida
How do I keep the menu tabs from disappearing?
It's possible to minimise the toolstrip which I guess is what you might be referring to here. Check the first item on the link b...

más de 9 años hace | 1

| aceptada

Respondida
A problem about Gui
This is a known bug with deployed applications in 15b. Take a look at the bug report linked below for possible workarounds. I've...

más de 9 años hace | 0

| aceptada

Respondida
GUI: function to change pushbutton color on mouseover
You should take a look at the WindowButtonMotionFcn callback property on the Figure. You could use this to define your own custo...

más de 9 años hace | 0

Respondida
Has anyone found a way to enable/disable tabs in App Designer?
I don't believe that you can yet enable/disable tabs in MATLAB and this is something I have requested from them. Using findjobj ...

más de 9 años hace | 0

| aceptada

Respondida
Changing the appearance of buttons in GUIDE
You can set the CData property of the uicontrol to display an image. See <https://uk.mathworks.com/matlabcentral/answers/98593-h...

más de 9 años hace | 0

Respondida
How can I plot using a string in MATLAB?
function plotting_fcn(bool1, bool2, bool3) x1 = [1,2,3,4,5]; y1 = [10,20,30,40,50]; y2 = [20,30,40,50,60]...

casi 11 años hace | 0

Resuelto


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

casi 11 años hace

Resuelto


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

casi 11 años hace

Resuelto


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

casi 11 años hace

Resuelto


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

casi 11 años hace

Resuelto


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

casi 11 años hace

Resuelto


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

casi 11 años hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

casi 11 años hace

Resuelto


Return the 3n+1 sequence for n
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 11 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...

casi 11 años hace

Resuelto


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

casi 11 años hace

Cargar más