Answered
surf command doesn't plot the value next to NaNs values
How about if you just interpolate over the nans with the regionfill() function? load M_array % Fill nan holes in M_array. n...

9 Tage ago | 0

Answered
Why is the working directory opening to the launch directory upon launch?
Not sure why your preference is not adhered to. Try this workaround by setting the folder in your startup.m file: >>edit start...

9 Tage ago | 0

| accepted

Answered
Why is this error comming?
We can't run an image. You should have posted your code as code. It looks like A has 6 elements, whereas b has only 2 elements...

9 Tage ago | 0

Answered
Draw the ezplot for the function 𝑥^ 2 + 6𝑥 + 55
I never use ezplot() - I just specify the range and other options explicitly. You might try this: x = linspace(-10, 10, 1000);...

9 Tage ago | 0

Answered
Plz guide, if I have made this loop correct?
Looks correct to me, though I can't run it because you didn't supply many of the variables inside it. Why do you ask? Do you h...

9 Tage ago | 0

Answered
Borghi Diagram in MATLAB
You can use xlabel(), ylabel(), plot(), and text(). And annotation() or line() for the little lines.

9 Tage ago | 1

Answered
Plot an equation with a range
Try this v = linspace(-100, 50, 1000); Then plug that v into the formulas that need it. Like alpham = (0.1 * (v + 40)) ./ (1...

10 Tage ago | 0

Answered
How to find number of Pixel green colour image by using webcamera
Use the Color Threshold app on the Apps tab of the tool ribbon to define "green". Full demo is attached.

10 Tage ago | 0

Answered
Could you please help me to fit 2 circles so as to detect left and right half of breast?
You just have to add the circle fitting code like I told you in your duplciate question: % Find the leftmost point and don't in...

10 Tage ago | 1

Answered
Plot values of 3D matrix against a single variable
Try this: clc; % Clear the command window. fprintf('Beginning to run %s.m ...\n', mfilename); close all; % Close all figu...

10 Tage ago | 1

| accepted

Answered
homework help with a statics programing question?
Which variable is taking on the value of 180? Double the number of comments. Add fprintf('Written by Michail Popovits on Octo...

10 Tage ago | 0

| accepted

Answered
how to unscramble a .wav file to find the actual voice?
Try getting the fft, copying and pasting the chunks into their desired location (frequencies) and then inverse fft. Something l...

10 Tage ago | 0

Answered
How can I create a function that updates a structure whose input is that structure?
Just have the output be the input: To call data_raw = AlterStructure(data_raw ); To define function data_raw = AlterStructur...

10 Tage ago | 1

| accepted

Answered
Are there any examples showing how to perform Monte Carlo simulation in MATLAB?
For what it's worth, I'm attaching three of my Monte Carlo demos.

11 Tage ago | 0

Answered
How to change image size to, say 128?
I think most (or all?) network architectures are built to expect a certain size image upon input. I don't think you can just ch...

11 Tage ago | 0

Answered
Sampling pixel intensities according to distance matrix...
Use splitapply() which was meant for this kind of thing: MatX = [2 1 2; 1 0 1; 2 1 2] % And an image, let's call it Mat(Y), co...

11 Tage ago | 0

Answered
Odd or even function
Hint: rem() or mod() How do I get help on homework questions on MATLAB Answers? - MATLAB Answers - MATLAB Central

11 Tage ago | 1

Answered
Thermal Image Processing using IR Images
You'd need either a temperature image, which I think can be exported as long as you aren't using the very cheapest FLIR camera. ...

11 Tage ago | 0

| accepted

Answered
How to specify the number of Validation data in the Classification Learner?
First, put only 900 samples into your predictor table (not all 1000). Maybe use randsample(). So you'll have a tPredictor tabl...

11 Tage ago | 0

| accepted

Answered
Image segmentation and measure segmented features
I didn't read the whole article and can't program it up for you but with just a quick glance it looks like they're segmenting on...

11 Tage ago | 1

Answered
Plot video and picture with timestamp simultaneously
Well that's a whole application. I can't do all that but I can share three demos where I play a video and plot the mean rgb val...

11 Tage ago | 1

| accepted

Answered
How do I generate a pdf from some known percentile values
Have you seen fitdist() in the Stats toolbox? Of course you'd be better off with much more data.

11 Tage ago | 0

Answered
Image Extraction From Another one
Convert to HSV color space and take where the saturation > 0 hsvImage = rgb2hsv(rgbImage); mask = hsvImage(:, :, 2) > 0; % Ma...

11 Tage ago | 0

| accepted

Answered
How to limit y-axis of eye-diagram?
[2 0] is not "increasing numeric values". Try ylim([0, 2]);

11 Tage ago | 0

Answered
How to make an if-statement that finds whether a 1x5 column has 4 of the rows the value 0?
Well you've asked about two sort of opposite situations: "more than 4 zeros", and "more than 4 of the indexes more than 0" So...

11 Tage ago | 0

Answered
Unrecognized function or variable 'detectSIFTFeatures'
You probably don't have the Computer Vision Toolbox. % Check that user has the specified Toolbox installed and licensed. % has...

12 Tage ago | 0

Answered
I am new in matalb.
You can get a value from A by specifying the row and column, like A(row, column). Rows and columns start numbering at 1. The l...

12 Tage ago | 1

| accepted

Answered
Getting the same incorrect plot with exponential function
That is the correct plot for that equation. What were you expecting? Why do you say it's wrong? x = linspace(0, 10, 1000); y...

12 Tage ago | 0

Answered
Changing orientation of color map
Try using the scaled y values as the index into your colormap: x = linspace(0,3*pi,200); y = (cos(x) + rand(1,200))*(-1); siz...

12 Tage ago | 0

| accepted

Answered
i need code for small project
I don't even know what that means. Please use more words to explain, and maybe attach a diagram that you think it should look l...

12 Tage ago | 1

Load more