Respondida
Variables not appearing in workspace
Well, it looks like your code needs interaction with user when using listdlg. It is obvious that a choice should be made before...

más de 4 años hace | 0

Respondida
If I have an array with values and then another array with each value's category, how would I remove values with certain categories?
First, your notation for array is misguided. notation for arrays is [ ]. If you want only remove, reducing the size of your Da...

más de 4 años hace | 0

| aceptada

Respondida
Unable to perform assignment
Is num two column variable? I wonder you should choose num(:, 1) or num(:, 2) to assign mgdata(:, 2).

más de 4 años hace | 0

Respondida
How to slice a two-dimensional array to get a one-dimensional array
Well, this is a specific suggestion for this case. You might implement some sort of loop for bigger cases. a = rand(5, 4) i =...

más de 4 años hace | 0

Respondida
Why am I getting invalid expression?
You should declare Lambda and E as you made for counter. You also had some flaws in the if condition (a missing parenthesis, an...

más de 4 años hace | 0

| aceptada

Respondida
Matlab 5.2
A peer-reviewer journal will probably ask why you're using such an obsolete version of MATLAB. It is really necessary to use su...

más de 4 años hace | 0

Respondida
How dicomCollection sorts dicom filenames?
I just used sort to fix the problem for idx = 1 : numel(collection.Row) dicomFilename = sort(collection.Filenames{idx}); ...

más de 4 años hace | 0

| aceptada

Pregunta


How dicomCollection sorts dicom filenames?
Hi, I'm having issues when using dicomCollection to read multi-slice dicom volumes. I'm basically following steps in this link...

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

1

respuesta

Respondida
How do I check students use variables instead of hard-coded numbers in their scripts?
Well, I think that if your students would be cheating the way you mentioned, you could check both the variable value and if the ...

más de 4 años hace | 0

Pregunta


If condition with multiple OR statements
Hi, I would like to understand what's the problem here. PURPOSE: Not print 'd', if the multiple OR statements are satisfied. ...

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

1

respuesta

Respondida
Displaying information on the image of Dicom
If you mean the dicom headers, there is a simple way to do it: % loading the headers info = dicominfo('yourPath2yourDicomImage...

más de 4 años hace | 0

Respondida
How to plot multiple figures (.fig) into one figure?
what about this one?

más de 4 años hace | 0

Respondida
How do I write files in NITF format?
Take a look at this link.

más de 4 años hace | 0

Respondida
Upgrade MATLAB from r2013b to r2017b problem.....
I don't know when element-wise operation was released nor it always has been there. A = [1, 2; 3, 4] B = A^2 C = A.^2 No...

más de 4 años hace | 0

| aceptada

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

casi 5 años hace | 0

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

casi 5 años hace | 1

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 0

Respondida
how can I obtain hounsfield units(HU) from a .dcm image?
After loading your image: yourImage = dicomread('yourImage.dcm'); You can go straight to info = dicominfo('yourImage.dcm'); ...

casi 5 años hace | 2

| aceptada

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 1

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 0

Respondida
Separating rows by attribute into new matrices.
Hi, Would it work if instead of several matrices, you get a new matrix with a third index? So each index of the third dimensi...

casi 5 años hace | 0

Respondida
Matlab 2019b wont start on Ubuntu 18.04 (installation seemed to work)
Did you try opening the terminal and typing: matlab if you still want to use your terminal after starting the matlab process, ...

casi 5 años hace | 1

Pregunta


Interp3. Error using griddedInterpolant. The grid vectors do not define a grid of points that match the given values.
Hi, I'm trying to use interp3(x, y, z, image, xq, yq, zq). My new query xq, yq and zq are [256, 256, 90], and my old x, y and ...

casi 5 años hace | 1 respuesta | 0

1

respuesta

Cargar más