Réponse apportée
How can i get rid of elements in image?
Try this for one image. % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except t...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
what could be the reason to get negative predicted output for new dataset?
Because that's what the model thinks the value should be. If you don't think it's right then make sure your test data is in the...

plus de 2 ans il y a | 0

Réponse apportée
how I edit layout figure according my picture??
What did you do to make the top image? Did you use subplot(1, 10, k) ? Maybe try subplot(2, 5, k)

plus de 2 ans il y a | 0

Réponse apportée
How to get pixels per millimeter from image of a scale
Whoever told you to use the Fourier transform to spatially calibrate your image was either (1) teasing you, (2) pulling a prank ...

plus de 2 ans il y a | 0

Réponse apportée
how to overlay cropped image on uncropped original image
See my attached demos about pasting an image onto another image. Adapt as needed. You might also like How to overlay a foregr...

plus de 2 ans il y a | 0

Réponse apportée
Source code for Heart Disease Prediction
In addition to PubMed you can try http://www.visionbib.com/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20M...

plus de 2 ans il y a | 0

Réponse apportée
Estimate different trend lines and its slopes from a set of points
Perhaps findchangepts help findchangepts

plus de 2 ans il y a | 0

Réponse apportée
How to make the color gradient gradual. In the plot
The number of colors depends on the number of unique values in your data as well as the number of unique colors in your colormap...

plus de 2 ans il y a | 0

Réponse apportée
Image motion frequency estimation from scanned image
It looks like you can determine the waviness wavelength by examining the dark blobs at the last line of the image. Otherwise, I...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Day of Week data plot
Look into splitapply, grpstats. and groupsummary They will do functions, like mean, based on what group the data is in.

plus de 2 ans il y a | 0

Réponse apportée
How to find out area under the curved shape of the attached figure?
Try the attached code to automatically find the lower dark shape. It produces.

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Writing tiff file with multi channel and slices
What is z and t? If you want the loop to only go from c=1 to c=2, instead of this: for c = 1:dims(3) have this: for c =...

plus de 2 ans il y a | 1

Réponse apportée
The function is debugging too long...
Steve said youi have an infiite loop. You should never have one if you code it up properly. ALL while loops need a failsafe to ...

plus de 2 ans il y a | 1

Réponse apportée
I am looking for advice on the best way to learn matlab. I am a second year PhD student trying to familiarize myself with problems or projects. Any advice?
Try this link: Best way(s) to master MATLAB? - MATLAB Answers - MATLAB Central To learn fundamental concepts, invest 2 hours...

plus de 2 ans il y a | 0

Réponse apportée
How I Can Change language to English?
To change the language and server of what you're using on the Mathworks web site, go to www.mathworks.com and scroll way down to...

plus de 2 ans il y a | 3

Réponse apportée
Could anyone help me solve the problem below that i am facing
You have a function (method) of a class and when you execute that function, for some reason, the output variable never gets assi...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Problem with converted TIFF image
Try img_uint16 = uint16(double(img) / double(max(img(:))) * 65535); or img_uint16 = uint16(mat2gray(img) * intmax('uint16'));...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Saving a Script from another script
What you should do is to put all of your parameters that you want to vary in a text file or a workbook. Then read it in with so...

plus de 2 ans il y a | 0

Réponse apportée
AM Demodulation code error
time is a built in function so your use of it is not recommended. What is filt_received? Specifically what is its size (rows a...

plus de 2 ans il y a | 0

Réponse apportée
How do i detect background from any image given to me?
If you have the Computer Vision Toolbox, you can use the foreground detector: https://www.mathworks.com/help/vision/ref/vision....

plus de 2 ans il y a | 0

Poll


My favorite sport to watch is

plus de 2 ans il y a | 3712 votes | 15 comments

Réponse apportée
i have ascii data converted into columns and rows seperatby str2num command now i want to add all rows in orderly in one cell by using for loop can you give me ans
Try this: fileName = "radio.txt"; data = readmatrix(fileName, 'NumHeaderLines', 5) % Turn nans into 0's. data(isnan(data)) =...

plus de 2 ans il y a | 0

Réponse apportée
how can I view each individual superpixel?
The superpixels algorithm gives you the labeled image, where each superpixel is assigned an ID number. To view them all you cou...

plus de 2 ans il y a | 0

Réponse apportée
Creating a safety distance from an obstacle in occupancyMap
If you have the Image Processing Toolbox, you can use imdilate - it does what you ask for. If you don't want blobs to join/conn...

plus de 2 ans il y a | 0

Réponse apportée
How can I extract the region of interest and its features of the highest moving energy/intensity area
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

plus de 2 ans il y a | 0

Réponse apportée
Image segmentation with different lighting conditions (Color Thresholder)
Try this. I tested it only with the first image. See attached demo to convert to pixels. Through you could do that automatica...

plus de 2 ans il y a | 0

Réponse apportée
How do I avoid the mistake?
There is a thorough discussion in the FAQ: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_...

plus de 2 ans il y a | 0

Réponse apportée
Make the colours of my graph continuous
I would just blur the image before displaying it. windowWidth = 15; % Whatever.... blurKernel = ones(windowWidth, windowWidth)...

plus de 2 ans il y a | 0

Réponse apportée
Unrecognized function or variable
Try this: t = 1:1:2960; t2= t/128; t2 = t2'; %rc is raw data %rcf is segmented data fs = 128; Lab5 = lowpass(realLab5...

plus de 2 ans il y a | 0

Réponse apportée
Finding mean of data in array inside another array
Did you try the obvious brute force for loop method: theMeans = zeros(numel(X), 1); for k = 1 : numel(X) % Get the mean o...

plus de 2 ans il y a | 0

| A accepté

Charger plus