Pregunta


How to deploy a specific version of matlab when there are two versions installed on Linux?
Hi all, I have two versions of matlab installed in Linux ubuntu (15a and 19a). Once I type matlab on terminal, the 2019 versio...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


java.langUnsatisfiedLinkError problem
Hi all, I'm using MATLAB 2015a in Linux Ubuntu 19.04. My Matlab interface is a mess with the buttons of the interfaces. Somet...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Respondida
MATLAB CLOSE THROUGH M-script
Did you try this?

más de 6 años hace | 0

Respondida
How to know maximal x and y cordinate in image
Hi Sipher. The example below is for a simple 3x3 matrix. But you can change to your image instead (as an image is a matrix). T...

más de 6 años hace | 1

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

casi 7 años hace

Resuelto


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

casi 7 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 7 años hace

Resuelto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

casi 7 años hace

Resuelto


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

casi 7 años hace

Resuelto


Find max
Find the maximum value of a given vector or matrix.

casi 7 años hace

Resuelto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

casi 7 años hace

Resuelto


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

casi 7 años hace

Resuelto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

casi 7 años hace

Resuelto


Return area of square
Side of square=input=a Area=output=b

casi 7 años hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

casi 7 años hace

Resuelto


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

casi 7 años hace

Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

casi 7 años hace

Resuelto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

casi 7 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

casi 7 años hace

Resuelto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

casi 7 años hace

Respondida
Can I read a single field using DICOMINFO?
Well, some of the meta-data are the same from a set of dicom images you're working on. There's this Dicom Library I use which i...

casi 7 años hace | 1

Respondida
How to check if a directory(folder) exists?
well, I suppose you want to create if it doesn't exist, after checking... so you could do it like that: if ~exist(your...

más de 7 años hace | 37

| aceptada

Pregunta


How to call a sub-gui direct from the command window?
Hello fellows. I'm using GUIDE, and everything is working good. So, I have the main GUI with a pushbutton to a sub-GUI. There...

más de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


GUIDE: how to share variables of a local function on its .m file to another callback button?
Hello fellows. This questions is about using GUIDE. Here's the problem: I have a function @callbackslider nested with another...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Respondida
How do I clear the command history from the command line in MATLAB?
just type clc . It will clear your history window in matlab. If you want to clear the data as well, type: clc, clear

más de 7 años hace | 0

Pregunta


How to create a grid of squares inside a circle, assign them and get the sum of pixels inside the squares?
Hello fellows. I want to create a grid of squares within a circle like the image attached. The condition is to consider only to...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Respondida
Image not generated after separation..?
uHm... Did you try to set a displayrange in your imshow? I don't know... it should work. figure,imshow(im, ...

más de 10 años hace | 0

Pregunta


Can I use a uicontrol with imshow?
Hello fellows. I have a code which dicom slice images are shown through imagesc and uicontrol. It works fine. However, I woul...

más de 10 años hace | 1 respuesta | 0

1

respuesta