Answered

Does MATLAB support collections or are there any 3rd party libraries that enable this?

I would like to answer my own question after doing some investigation. I could not find any answers to this in the Answers secti...

Does MATLAB support collections or are there any 3rd party libraries that enable this?

I would like to answer my own question after doing some investigation. I could not find any answers to this in the Answers secti...

mehr als 7 Jahre ago | 2

Question

Does MATLAB support collections or are there any 3rd party libraries that enable this?

I do not think MATLAB has built in support for collections and generics as in other mature OOP languages like Java. Are there an...

mehr als 7 Jahre ago | 1 answer | 1

Answered

Read a string from text file returning strange characters

Play around with the EncodingIn key value pair for the fopen function. Chances are its opened in the wrong encoding mode. htt...

Read a string from text file returning strange characters

Play around with the EncodingIn key value pair for the fopen function. Chances are its opened in the wrong encoding mode. htt...

mehr als 7 Jahre ago | 0

Answered

Modify DICOM elements without modifying PixelData

You could use the Grass roots dicom tools (GDCM). It is a well documented collection of tools.

Modify DICOM elements without modifying PixelData

You could use the Grass roots dicom tools (GDCM). It is a well documented collection of tools.

mehr als 7 Jahre ago | 0

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mehr als 7 Jahre ago

Solved

Return the first and last character of a string

Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

mehr als 7 Jahre ago

Solved

Circle area using pi

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

mehr als 7 Jahre ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mehr als 7 Jahre ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

mehr als 7 Jahre ago

Solved

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

mehr als 7 Jahre ago

Solved

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

mehr als 7 Jahre ago

Answered

I need to write a script file that takes the coefficients of a quadratic and calculates the roots after testing them so that the least amount of calculation is done?

By "testing" them do you mean to check if the coefficients will produce a Real solution as opposed to a complex solution?

I need to write a script file that takes the coefficients of a quadratic and calculates the roots after testing them so that the least amount of calculation is done?

By "testing" them do you mean to check if the coefficients will produce a Real solution as opposed to a complex solution?

mehr als 7 Jahre ago | 0

Answered

Communication between two or more GUIs

Good morning/afternoon/evening. There are a couple of ways to go about doing what you want to do. Which way is the path of least...

Communication between two or more GUIs

Good morning/afternoon/evening. There are a couple of ways to go about doing what you want to do. Which way is the path of least...

mehr als 7 Jahre ago | 0

Answered

blood vessel segmentation help

MATLAB is a superb tool for medical image processing. It is even more powerful when coupled with other tool kits like the ITK to...

blood vessel segmentation help

MATLAB is a superb tool for medical image processing. It is even more powerful when coupled with other tool kits like the ITK to...

mehr als 7 Jahre ago | 0

Answered

Need to find files in a dir structure with similar but not identical names

Hi. I would like to add one piece of advice. In MATLAB, string comparisons for the purposes of logical testing are best done wit...

Need to find files in a dir structure with similar but not identical names

Hi. I would like to add one piece of advice. In MATLAB, string comparisons for the purposes of logical testing are best done wit...

mehr als 7 Jahre ago | 0

Answered

Modify DICOM elements without modifying PixelData

Hi Scott, MATLAB's Image Processing Toolbox has a superbly decked out DICOM handling component. I do not have any DICOMs o...

Modify DICOM elements without modifying PixelData

Hi Scott, MATLAB's Image Processing Toolbox has a superbly decked out DICOM handling component. I do not have any DICOMs o...

mehr als 7 Jahre ago | 1

Question

Most correct way to use global variables across callbacks in GUI

I read the 2014a GUI maker user guide and it suggests 3 ways to make data available across callbacks. I am writing a moderately ...

mehr als 7 Jahre ago | 1 answer | 0