A répondu
How to write a code for Monte Carlo Simulation
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

14 jours il y a | 0

A répondu
can anyone help me in getting the local binary pattern code of ojala et all paper. I am implementing the code by myself but stuck in interpolation step. can anyone help me ??
I don't know that paper. All I know is the demo I've made where I determine the local binary pattern. See attached demo.

14 jours il y a | 0

A répondu
Find the most furthest point in binary images
You can find all xy points in the binary image using [y, x] = find(binaryImage); You can find perimeter points with bwboundari...

14 jours il y a | 0

A répondu
cant play alarm sound if the plane is under a certain height.
Then it must not be getting into the while block. Did you step through it with the debugger? Debugging in MATLAB | Doug's MATL...

14 jours il y a | 1

A répondu
Check dates if palindrome
Are you considering month/day/year separators to be included in the string? Try this where I do it both ways. % Get user's date...

14 jours il y a | 0

A répondu
viscircles, how to always take only one cycle
Then only pass in one circle viscircles(centers(1, :), radii(1)); where 1 is the number of the circle you want to display.

14 jours il y a | 0

| A accepté

A répondu
Difference between imshow and mesh/surf
Surf is a surface rendering of the image where is maps the image intensity into a height above a plane. So surf is like a topog...

14 jours il y a | 0

A répondu
How can I get this to print 1 row of my original 3 images on top of 1 row of my three altered images?
Try putting the altered images in the row below the originals. imshow([image1 image2 image3; alteredimage1, alteredimage2, alte...

14 jours il y a | 0

| A accepté

A répondu
Well, what is the value of nz? Is it a 10 element vector, or a scalar. Did you mean to give nz an index? You're overwriting z...

14 jours il y a | 0

A répondu
How to find tangent line of curve
Do you have any data? What I'd do is to scan your data vector fitting the values within a certain window width to a quadratic. ...

15 jours il y a | 1

A répondu
Image and two bubblecharts in one plot
Format your code as code so that we can easily copy it and run it (which I didn't). If you want to create plots and images insi...

15 jours il y a | 0

A répondu
How to fill a vector and change its elements when reaching a specific element?
Try this: maxx = 1000; x = zeros(1, 3600); index = 2; while x(index-1) < maxx && index < length(x) x(index) = x(index-1...

15 jours il y a | 0

A répondu
Why does histogram gives issues? I rephrased my question
See my collection of demos attached that put insets within larger axes.

15 jours il y a | 0

A répondu
why do i get this error as no enough input arguments
You can't just push the green run triangle because it won't know what you want for the input arguments. You have to either cal...

15 jours il y a | 1

A répondu
The plot of cosine is not shown
What does CT mean? To me it means Computed Tomography. What does DT mean? What do you expect or want the period (peak to peak...

16 jours il y a | 0

A répondu
Is it possible to make a bar graph depiction of SSIM values? How?
Try this: % Demo by Image Analyst % Initialization Steps. clc; % Clear the command window. close all; % Close all figure...

16 jours il y a | 0

| A accepté

A répondu
How to convert thousands of .obj files to thousands of corresponding.mat files ?
See code snippets in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files? Adapt as needed.

16 jours il y a | 0

A répondu
Programmatically create histograms like Color Thresholder
See attached demo. Adapt as needed. You can use bar() instead of plot() to make histograms like those.

16 jours il y a | 0

A répondu
How can i write a code to decide whether one image contains another image or not.
If it's in there EXACTLY, you can scan the image pixel by pixel using isequal to determine if the exact pixel values are located...

17 jours il y a | 0

A répondu
set colormap values to an array
Try this: colorpost =[... -1.4721 -11.3430 23.4227 7.0674 -2.7839 42.3308 -2.6353 0.161...

17 jours il y a | 0

A répondu
How to use findpeaks in a while loop?
Try this allThresholds = linspace(0, max(signal), 1000); for k = 1 : length(allThresholds) thisThreshold = allThresholds(...

17 jours il y a | 0

A répondu
How can I add a space below the title?
I actually find sprintf() much easier to read than having a bunch of extra apostrophes, commas, and function calls to num2str():...

17 jours il y a | 0

A répondu
How can I normalize a data between 0-1 without having its maximum value?
If you have an array, you can normalize it with normalize or rescale data = rand(1, 3) normalizedData = rescale(data, 0, 1)

17 jours il y a | 0

A répondu
Error message when running code: "Dimension argument must be a positive integer scalar"
What values did you enter? I entered 4, 5, 4, 4, and 4 and got no such error with the code above. Are you sure you actually en...

17 jours il y a | 0

A répondu
how to fill a specific region with color if that's region contain my target point?
Use polyshape: x = [1 3 4 3 1 0 1]; y = [0 0 2 4 4 2 0]; plot(x,y,'k') hold on plot(x+2,y,'k') plot(x,y+2,'k') x_target=3...

17 jours il y a | 0

| A accepté

A répondu
How do I remove blobs connected to border?
You've probably figured it out by now but I'd use bwperim and imreconstruct. Let me know if you can't figure it out and I'll gi...

17 jours il y a | 0

A répondu
Average on three Arrays
Try resample or interp1

17 jours il y a | 0

A répondu
How to entirely show the first and last bars?
Adjust xticks or xlim to show more of the x axis.

18 jours il y a | 0

| A accepté

A répondu
Question about finding mean in a matrix
Is this a video? If so do you want to average the different color channels together, or have one average image for each separat...

18 jours il y a | 0

A répondu
using a function in a for loop
Your simplified code works fine. Watch: fileName = 'snafu.txt'; for k = 1 : 12 [CH{k} result{k}] = ytmWdfGetData(fileNam...

18 jours il y a | 0

| A accepté