photo

HH0825


Last seen: 13 jours il y a Actif depuis 2016

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


How can I delete the rows and columns of a 3D matrix? I tried to use the following Px((1:(Col​umn1-1)),:​,i)=[] but I am getting this error "A null assignment can have only one non-colon index." How can I correct it?
clear all clc dicomlist = dir(fullfile(pwd,'SER_7_Dicoms','*.dcm')); for cnt = 1 : numel(dicomlist) I{cnt} = di...

environ 8 ans il y a | 2 réponses | 0

2

réponses

Question


Can someone explain to me how to use this file with an example? I found it online. It should convert my matlab matrix output to tecplot. I have a code that produces 4 matrices that need to be plotted in tecplot. Do I run it?
function [] = matrixToTecplotBinaryFile(X,Y,contour,output_file_name,title, varnames) % Write matlab matrix into tecplot b...

environ 8 ans il y a | 1 réponse | 0

1

réponse

Question


It seems that matlab is rounding my negative values to 0 when stored in a matrix. How can I undo that? And is the cosine values in the right order?
read = dicomread('2.dcm') [X, map] = dicomread('2.dcm'); %montage(X, map, 'Size', [2 5]); info = dicominfo('2.dcm'); ...

environ 8 ans il y a | 4 réponses | 0

4

réponses