已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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]

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已解决


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

8 years 前

已回答
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 ...

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
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...

8 years 前 | 0

已回答
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...

8 years 前 | 1

| 已接受

已回答
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...

8 years 前 | 0

| 已接受

已回答
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...

8 years 前 | 0

已回答
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 ...

8 years 前 | 0

| 已接受

已回答
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...

8 years 前 | 0

已回答
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]...

9 years 前 | 0

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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.

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

加载更多