Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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]

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 1

| accettato

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

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

quasi 11 anni fa | 0

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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.

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Carica altro