![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/11162379_1526387194579_DEF.jpg)
tesarj13
Followers: 0 Following: 0
Feeds
提问
How to skip file in imageDatastore.ReadFcn?
I have folder with dicom files (.dcm). Some of them are images (with size MxNx3), some of them are videos (MxNx3xnumOfFrames). I...
3 years 前 | 1 个回答 | 0
1
个回答已解决
middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...
5 years 前
已解决
Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...
5 years 前
已解决
intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...
5 years 前
已解决
We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...
5 years 前
已解决
Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
5 years 前
已解决
Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...
5 years 前
已解决
Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...
5 years 前
已解决
Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...
5 years 前
已解决
"Low : High - Low : High - Turn around " -- Create a subindices vector
Let two vectors *lo* and *hi* be given. The job is to create a index vector like so idx = [lo(1):hi(1) lo(2):hi(2) ...]...
5 years 前
已解决
Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...
5 years 前
已解决
Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...
5 years 前
已解决
Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...
5 years 前
已解决
Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...
5 years 前
已解决
Create logical matrix with a specific row and column sums
Given two numbers *|n|* and *|s|*, build an |n-by-n| logical matrix (of only zeros and ones), such that both the row sums and th...
5 years 前
已解决
Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...
5 years 前
已解决
Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...
5 years 前
已解决
Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...
5 years 前
已解决
First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero ...
5 years 前
已解决
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
5 years 前
已回答
Multiple objects/labels detection NOT JUST ONE (alexnet)
Maybe you are looking for object detection ?
Multiple objects/labels detection NOT JUST ONE (alexnet)
Maybe you are looking for object detection ?
5 years 前 | 0
提问
[bug] importONNXNetwork fails to open file if path depends on "Add to Path" folder
I added my folder "nnets" to path (from context menu) and tryed to import onnx network with: %not working net = importONNXNetw...
6 years 前 | 1 个回答 | 0
1
个回答已回答
How can I play a range of frames from a video file?
https://www.mathworks.com/help/matlab/ref/videoreader.readframe.html Section Read Video Starting at Specific Time
How can I play a range of frames from a video file?
https://www.mathworks.com/help/matlab/ref/videoreader.readframe.html Section Read Video Starting at Specific Time
6 years 前 | 0
提问
[mistake in docs] Deep learning trainingOptions.ValidationPatience is not Inf by default
<https://www.mathworks.com/help/deeplearning/ref/trainingoptions.html Documentation> : 'ValidationPatience' — Patience of v...
6 years 前 | 2 个回答 | 0
2
个回答已回答
How can I create 3D pixels image
imageSizeX = 100; imageSizeY = 100; imageSizeZ = 100; [columnsInImage, rowsInImage,zInImage] =... mesh...
How can I create 3D pixels image
imageSizeX = 100; imageSizeY = 100; imageSizeZ = 100; [columnsInImage, rowsInImage,zInImage] =... mesh...
6 years 前 | 1
已回答
Perform a program that graphs the letter "x inside a box" of size n
box_size = 100; box = zeros(box_size); v = 1:box_size+1; box(1:box_size+1:end) =1; box(box_size:box_size-1:end) =1; ...
Perform a program that graphs the letter "x inside a box" of size n
box_size = 100; box = zeros(box_size); v = 1:box_size+1; box(1:box_size+1:end) =1; box(box_size:box_size-1:end) =1; ...
6 years 前 | 0
已回答
Save Image with drawn shape not with original resolution
Save image with <https://www.mathworks.com/help/matlab/ref/imwrite.html imwrite> function!
Save Image with drawn shape not with original resolution
Save image with <https://www.mathworks.com/help/matlab/ref/imwrite.html imwrite> function!
6 years 前 | 0
| 已接受
提问
Classification of AlexNet deep dreams is always wrong (always nematode)
I followed up the <https://www.mathworks.com/help/deeplearning/examples/deep-dream-images-using-alexnet.html tutorial> about Ale...
6 years 前 | 1 个回答 | 0
1
个回答提问
Impossible to import .onnx with importONNXLayers
I am trying to import different onnx models from <https://github.com/onnx/models official repo>. importONNXLayers always ends wi...
6 years 前 | 2 个回答 | 0