Community Profile

# drummer

##### Last seen: Today
78 total contributions since 2015

Interested on Medical Image Processing;
PET, SPECT, MRI and CT are my scope of interest.

View details...

Contributions in
View by

Access MATLAB out of intitute
Good to follow Sindar´s sugestion. But my exp was different: If you have MATLAB installed in your notebook/computer with an aca...

15 días ago | 0

How to plot a horizontal line?
y = 0:0.1:110; x = 2050.* ones(length(y)); plot(y,x) xlim([1 110])

16 días ago | 1

loop and array for sum
s = s + sum(magnitude(i:i+1000)); would it work?

16 días ago | 0

How to input solution for the matrix in for loop.
Not sure where your variable w came from. MATLAB does not reccommend using inline anymore, according to its documentation. It ...

17 días ago | 0

Cannot open DICOM file
If dicomread didn't show any errors, try this after reading them again: figure imshow(yourDicom, 'DisplayRange', []); I did n...

20 días ago | 0

how can I obtain hounsfield units(HU) from a .dcm image?

21 días ago | 0

Can't use mex function in Macbook with MATLAB R2018b
I think you're supposed to compile your mex files for macOS so you get mexmaci64 files. Check here to see if that's the problem...

22 días ago | 0

Matlab operation in macOS
Try opening your terminal, then type: cd /Applications/MATLAB_R2019b.app/bin type ./matlab Are you using some academic lic...

26 días ago | 0

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

27 días ago

How to use negative index ranges in for loop?
It's not possible. if you want to run a for loop like you showed in your example ranging from -5 to + 5 By doing like this, yo...

alrededor de 1 mes ago | 0

Basic understanding on matlab
How did you get A*B = [9 12; 9 12] ? with your values for A and B, A*B = [19 22; 43 50] . Even doing element-wise (A.*B) is = ...

alrededor de 2 meses ago | 0

I got subscript indices must be real positive integers or logicals on my code
What is C? I suppose your original image to be equalized is img. So is C any function applied in img? If that's not the case, ...

alrededor de 2 meses ago | 0

How do i deal with argument error?
You can always debug using dbstop in your line you are having errors. Another way is by getting one value of confortTier and cu...

alrededor de 2 meses ago | 0

Where is the matrix operator?
the letter 'x' in programming represents the character 'x', i.e., the letter x. The corresponding representation you wish: a ve...

alrededor de 2 meses ago | 0

Solved

Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

alrededor de 2 meses ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

alrededor de 2 meses ago

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

alrededor de 2 meses ago

Solved

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

alrededor de 2 meses ago

Solved

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

alrededor de 2 meses ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

alrededor de 2 meses ago

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

alrededor de 2 meses ago

Solved

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

alrededor de 2 meses ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

alrededor de 2 meses ago

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

alrededor de 2 meses ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

alrededor de 2 meses ago

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

alrededor de 2 meses ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

alrededor de 2 meses ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

alrededor de 2 meses ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

alrededor de 2 meses ago

Solved

Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

alrededor de 2 meses ago