To use noisy NMR sequences as a CNN input and clean NMR sequences as the output, you can use a deep learning framework in MATLAB, such as Deep Learning Toolbox. Here's the general workflow:
load
or readtable
).crossvalind
function.trainNetwork
function with the noisy sequences as inputs and clean sequences as outputs.predict
function on the test set.Here's a sample code snippet to get you started:
main.m1210 chars41 lines
gistlibby LogSnag