提问


Is there a simple way to set a property of multiple (potentially different) objects in a cell array?
Suppose I have a cell array of objects (which may belong to different classes), C{1} = [1x1 toolpack.component.TSLabel] ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


How to programmatically get custom MATLAB toolbox version?
I have created my own toolbox and packaged it into a .mltbx file. Inside the toolbox, I want to include a function that returns ...

9 years 前 | 1 个回答 | 2

1

个回答

已回答
draw a white circle on an binary image?
You can also try using <http://www.mathworks.com/help/vision/ref/insertshape.html insertShape>, which was introduced in R2014a.

9 years 前 | 0

已回答
how to draw circle in an image?
In case someone else stumbles upon this question like I did and is unsatisfied with the current answers, I have found that <http...

9 years 前 | 7

已回答
How to get each iteration to be outputted in a while loop?
A few things: 1. I think your variable Estimate is defined incorrectly. Check to make sure it matches the equation in your pd...

9 years 前 | 0

提问


Are image morphological operations invalid for RGB images?
Most (if not all) of the morphological operations (e.g. imdilate, imerode, imtophat, imbothat) specify that the input image shou...

9 years 前 | 1 个回答 | 0

1

个回答

提问


What does the sensitivity parameter do in imfindcircles?
One of the parameter name-value pairs for the IMFINDCIRCLES function is 'Sensitivity'. I want to know what it does. I understand...

9 years 前 | 2 个回答 | 1

2

个回答

已回答
Using ImFindCircles for circles of small pixel radius
Look at doc imfindcircles If you are missing a lot of detections, here are some things to try: # Decrease 'EdgeThresh...

9 years 前 | 0

已回答
Function for concatenating strings with delimiters?
In case someone else stumbles upon this question like me, there is now a built-in function to accomplish this task: s = {'s...

9 years 前 | 13

已回答
How can I generate all possible combinations from multiple sets of nchoosek?
In case anyone else ever stumbles upon this question...I figured out how to solve my problem. Use a combination of nchoosek and ...

9 years 前 | 0

| 已接受

提问


List of built-in demo text files
Are there any built-in demo text files similar to <http://www.mathworks.com/matlabcentral/answers/54439-list-of-builtin-demo-ima...

9 years 前 | 1 个回答 | 1

1

个回答

已回答
How do I multiply matrices having elements as vectors?
If I understand the question correctly, you are asking how to multiply two vectors of the same size. Without loss of generali...

9 years 前 | 0

已回答
How do I see the weight and biases variables in neural networks, please show me on simple example code?
You can find some code examples using the Neural Network Toolbox <http://www.mathworks.com/products/neural-network/code-examples...

9 years 前 | 9

| 已接受

提问


Why does the gear not rotate in this SimMechanics model?
I am using SimMechanics (2nd gen) to create a simple model of a motor that drives a gear. Unfortunately, when I run my model,...

10 years 前 | 1 个回答 | 0

1

个回答

已回答
How to implement intermittent contact using SimMechanics (e.g. Geneva wheel)?
For anyone still interested in this topic, see the following video: <http://www.mathworks.com/videos/modeling-contact-forces-in-...

10 years 前 | 0

提问


How to get confidence values for detections from vision.CascadeObjectDetector System object?
First, I run <http://www.mathworks.com/help/vision/ref/traincascadeobjectdetector.html trainCascadeObjectDetector> on a custom s...

10 years 前 | 1 个回答 | 0

1

个回答

提问


Am I computing cross entropy incorrectly?
I am working on a neural network and would like to use cross entropy as my error function. I noticed from <http://www.mathworks....

10 years 前 | 4 个回答 | 0

4

个回答

已回答
Does order of multiplication in a for loop matter?
I think this may be a case of <http://www.mathworks.com/help/symbolic/recognize-and-avoid-roundoff-errors.html round-off error>....

10 years 前 | 0

提问


Can MATLAB/Simulink perform high-level stress analysis of mechanical assemblies?
I apologize in advance if this question lacks clarity because I'm not even entirely sure what my desired solution looks like. To...

10 years 前 | 1 个回答 | 0

1

个回答

已回答
if i like to write code for genetic algorithm where i have to start?
I like <http://www.amazon.com/Introduction-Evolutionary-Computing-Natural/dp/3540401849 Introduction to Evolutionary Computing> ...

10 years 前 | 1

| 已接受

已回答
While Loops - TextBook Example
2^2=4 4^2=16 16^2=256 256>200

10 years 前 | 1

提问


Is there a good method for painting over an image in a MATLAB GUI without lag?
I am working on a computer vision project that requires hand-labeled data. To acquire this data, I created a MATLAB GUI that tak...

10 years 前 | 2 个回答 | 2

2

个回答

提问


How do you get regionprops "images" (e.g. FilledImage, Image, ConvexImage) to be the same size as the original image?
I have a label matrix. I am using regionprops to measure properties for each labeled region. Some of those properties are images...

11 years 前 | 1 个回答 | 0

1

个回答

已回答
Creating a 2-D matrix from a 1-D Array?
Based on your comment to David's answer, how about this? r = 256; % number of desired rows c = 256; % number of desired ...

11 years 前 | 0

| 已接受

已回答
what is the purpose of each line of this code?
The first line creates a feed-forward backpropagation network. Type this in the command window to learn more: help newff ...

11 years 前 | 0

| 已接受

已回答
How to convert 'Structure' ?!
Try F.Contrast

11 years 前 | 0

已回答
how can i give the appearnce as dimmed to gui panel?
As for dimming the panel itself, will changing the 'BackgroundColor' property suffice for you? For example, the following code w...

11 years 前 | 0

已回答
How can I pick out two values of cell array with NaN without using a forloop and using indexing instead?
If I understand you correctly, the following code should work: a = {1:4;[5 nan 6 nan];[8 9 nan 10];[11 nan nan 12];13:16}; ...

11 years 前 | 0

已回答
How do I take the average of every n values in a vector?
Try this... n = 1000; % average every n values a = reshape(cumsum(ones(n,10),2),[],1); % arbitrary data b = arrayfun(...

11 years 前 | 15

| 已接受

加载更多