Community Profile

# drummer

##### Last seen: Today
143 2015 年以降の合計貢献数

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

#### drummer's バッジ

Training network after combining two imds
Hi all, I'm trying to use a combined dataset to train my network imds and augImds worked great. Then I combine(imds, augImds...

### 0

Resize the images without deforming them
you're trying to resize 200x200 to 100x100 images. scale = 0.5; J = imresize(I,scale); % using scale rather than your final o...

I need help on cell array and Imaging processing
figure(); for i = 1:10 subplot(4,5,i); imshow(TestData.Files{i}); end Hi. It's probably your argument for imshow t...

how to start graph in matlab from the origin?
xlim[yourInitialRange, yourEndRange] % Specifically xlim[0, 100]; % check if it works. % Cheers

Change histogram to more bars
This doc for histogram has the info to play with the number of bins in your histogram If you're using such command, you can do ...

How to update the value of the variable
Try this workaround clear clc syms forced velocityd densityd density dynamicviscosityd accelerationd Diameterd viscosityd Len...

Kindly I want know how to use function called ‘carre’, to calculate a square periodic function?
% here you call your function answer = carre(yourInputs) % you insert your inputs, whichever and how many they are. % in t...

1日 前 | 0

How can I solve it: Matrix dimensions must agree.
if M == [] A(M == []) = []; else % rest of your code here. end Hope that helps. Cheers

1日 前 | 0

n(x)
CODE1) a=[0 1]; % you tell MATLAB a is a vector for r=3:100 % the for loop you understand, right? ...

1日 前 | 0

| 採用済み

please, how ( index logical work in matlab ) ?
MATLAB does not accept negative indexes if you want to walk through your range. It also starts @ 1. One workaround you can shou...

1日 前 | 0

Hi, didn't go through with your images nor the output of normxcorr2, but perhaps this example could help you with a workaround. ...

2日 前 | 0

How to write a machine learning algorithm or modifying a machine learning algorithm in matlab?
If you own a MATLAB software with the Statistics and Machine Learning Toolbox, you can run some examples by yourself. This link...

2日 前 | 0

Error using trainNetwork: Invalid training data. The output size of the last layer does not match the response size.
Hi, Why are you resizing your original images, instead of using transform in your imds? PIPELINE: % create imds imds = image...

3日 前 | 0

I need you help to convert this equation to matlab code
Looks funny this exercise. By assigning i to the rand function, it is creating matrices as i increases. So rand(2) creates a 2 ...

4日 前 | 1

Automatic bone metastasis segmentation
Nuclear Medicine images are tricky. Is normalization of the images a step of your pipeline? Wouldn't this work? Another workar...

4日 前 | 0

| 採用済み

Too Many input arguments.
Did you try to use the Deep Network Designer app? You can import your network to the app and click on the analyze button.

4日 前 | 0

How can I set the number of decimals places displayed on plots and histograms?
Would this work? It has some configurations for x and y axes.

4日 前 | 0

| 採用済み

function_handle in randomAffine3d - invalid type for 'Shear': expected numeric but function_handle instead.
Hi all, I'm stuck with an issue that it is driving me crazy, because I think I covered all approaches here. I'm getting the er...

4日 前 | 0 件の回答 | 0

### 0

Exponential equation in a graph
Well, if you have already coded your plot, what is the problem to create a figure in matlab? If you have your arrays of x and f...

5日 前 | 0

I need a help for MATLAB code problems!
What is your question, actually? What do you want to complete? Your MATLAB code generated a 2D matrix of zeros, and it is as si...

5日 前 | 0

Is there such a table units identification approach?
Try this: opts = detectImportOptions('yourXLfile.xlsx') opts.selectedVariableNames = {'dissolved_oxygen'}; T1 = readtable('yo...

5日 前 | 0

Error using fprintf : Function is not defined for 'cell' inputs
what if you do fprintf(outputfile, 'blah %s', string(subID)) % sure, if that's your cell variable you want to display. Cheers....

5日 前 | 0

| 採用済み

how to import average specific data from excel file ?
Your Data(2:end, 3) is cell type. You can convert your Data column to array before. arrayData = cell2mat(Data2:end, 3)); The...

5日 前 | 1

| 採用済み

how can i map a 2d texture image in 3d surface ?
Your code is not very clear, but I assume your 2D texture is f, right? You want a 3D plot of each surface? Would this work? v...

5日 前 | 0

Index exceeds the number of array elements (2). Error (line 41)
Well, you're trying to reach n + 1 when creating the B vector. But n is 3. Thus your for loop goes until 4. The problem is tha...

6日 前 | 0

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

6日 前 | 0

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

6日 前 | 0

| 採用済み

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

7日 前 | 0

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

22日 前