Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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]

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

etwa 11 Jahre vor | 0

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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.

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Mehr laden