Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 2

1

Antwort

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 7

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

mehr als 8 Jahre vor | 0

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 1

2

Antworten

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 12

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

mehr als 8 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 1

1

Antwort

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 9

| akzeptiert

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 9 Jahre vor | 0

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 4 Antworten | 0

4

Antworten

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

mehr als 9 Jahre vor | 0

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
While Loops - TextBook Example
2^2=4 4^2=16 16^2=256 256>200

mehr als 9 Jahre vor | 1

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 2

2

Antworten

Frage


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

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Does matlab use a left handed or right handed coordinate system for the plot3 command?
right-handed

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to convert 'Structure' ?!
Try F.Contrast

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

Beantwortet
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}; ...

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 15

| akzeptiert

Mehr laden