Answered
Using max value to normalize data
Use rescale to rescale a matrix from min to max to whatever range you want: signal = rescale(signal, 0, 1);

2 years ago | 0

Answered
Index in position 3 exceeds array bounds
Evidently sim_data.cart_pos does not have 3 dimensions. What does this show if you put it just before that line that throws the...

2 years ago | 0

Answered
Work to create a app
I made some fixes to it but it still doesn't plot anything. It runs without errors though. See attached.

2 years ago | 0

Answered
where to put the break condition for the while loop
You need to decide when to get out of the loop. This can be either after a certain number of iterations, or when mode is no...

2 years ago | 0

Answered
how to convert color image to gray in app designer in different windows without using imread and rgb2gray?
What can be used if your instructor doesn't want you to use any built-in functions? What can be programmed "without any built-i...

2 years ago | 0

Answered
How can i get table with data of u1,u2,u3,u4?
Instead of your last line where you called table2array, try this: T = table(u1', u2', u3', u4', 'VariableNames', {'u1', 'u2', '...

2 years ago | 1

| accepted

Answered
compute sums by accumulating in a for-loop
Look at this: x=normrnd(0,1,100,1); xprime=detrend(x,'constant'); phi=zeros(14,1); L= [0:13]'; for l=1:14 temp = (sum(...

2 years ago | 0

| accepted

Answered
Image processing and Segmentation
Not sure what cells you are talking about. And do you want cells if they are not fully contained in the image? If you have any...

2 years ago | 0

Answered
help with proper notch filter
I have Fourier filtering demos, attached.

2 years ago | 0

Answered
Linear Interpolation listed data points on to anothe list
You're mixing up x_data, x, z_new, and v. I think the nomenclature is confusing you. Try this: x_data = [0.7127, 0.6954, 0.678...

2 years ago | 0

| accepted

Answered
Regression Learner - Neural Network results not reproducible
When you export the model "trainedModel" to the workspace, you then have to save it in a .mat file so that you can recall it for...

2 years ago | 0

| accepted

Answered
how to convert color image to gray in app designer in different windows without using imread and rgb2gray?
Once you have your pixel values in a 3-D array (rows x columns x 3 colors), you call rgb2gray. Why did you read in the image th...

2 years ago | 0

Answered
How should the output look like of the MSE of a median filtered image?
You should use the built-in functions immse and psnr

2 years ago | 0

Answered
Compute convolution y[n]=x[n]*h[n]: x[n]={2,0,1,-1,3}; h[n]={1,2,0,1}
@Li Hui Chew, yes your approach is correct. Is that all you wanted - confirmation of your approach?

2 years ago | 0

Answered
How do you apply a 3x3 low pass filter on an image that is noisy (salt and pepper) , and what is it supposed to do?
Basically the same as your other question where you used the median filter. So, borrowing from my answer there: If inpict is a...

2 years ago | 0

Answered
How do you apply a 3x3 median filter on an image that is noisy (salt and pepper) , and what is it supposed to do?
If inpict is a gray scale image, that would apply a median filter to ALL pixels in the image, not just the impulse/salt&pepper n...

2 years ago | 0

Answered
I want a trial version of whatever will allow me to use smithplot on R2009b. If not I need to purchase the toolbox.
We can't help you here. You'll need to contact the sales department on Monday.

2 years ago | 0

Answered
How should I control label behavior when enabling/disabling elements in app designer?
Evidently the label next to the listbox is kind of its own control (partially). You need to set properties for the label indepe...

2 years ago | 0

| accepted

Answered
Work to create a app
@Walter Roberson says your script runs without error. So once you have that you can start a new App Designer app, place a pushb...

2 years ago | 0

Answered
Help Required in using the function 'removerows' and its reverse function
You can't. See: x1 = [1 2 4; 1 1 1; 3 2 2; 0 0 0] [y1,ps] = removerows(x1,'ind',[2 4]) % Reverse the processing of y1 to get...

2 years ago | 0

| accepted

Answered
App Designer - Where is the Component Property Tab??
The properties for the selected control are in a panel in the lower right part of the screen. Make sure you have selected the c...

2 years ago | 0

Answered
Empty plot is showing because of my er
Index er. This works: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (except th...

2 years ago | 0

| accepted

Answered
Using Linear indicies to create new image
You need to label your binary image and then use ismember to extract out just certain ID(s) to a new binary image. For example ...

2 years ago | 0

Answered
Using a 'for' loop within the app designer
I don't know what callback that code is for. Presumably you have a pushbutton on your GUI that says something like "Go!" or "Co...

2 years ago | 1

| accepted

Answered
Hello! I need some help solving linear equations for the coefficients
@Álvaro you should have done it like this: % Liz buys three apples, a dozen bananas, and one cantaloupe for $2.36. % Bob buys...

2 years ago | 0

Answered
import and export of excel sheet work
OK, you seem to do that. The loop in the (horribly uncommented) code computes Cf, Nu, and Sh. To create another sheet you need...

2 years ago | 0

| accepted

Answered
matlabr2023b使用clc命令时报错
See some of the links on the right hand side of this page. Or else see the FAQ: https://matlab.fandom.com/wiki/FAQ#After_instal...

2 years ago | 0

Answered
This Matlab code is saying Index in position 1 is invalid. Array indices must be positive integers or logical values.
See the FAQ for a thorough discussion: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_inte...

2 years ago | 0

Answered
Features selection - Supervised learning
Why not use Principal Components Analysis? help pca Look at the "Explained". It will tell you the relative importance of the d...

2 years ago | 0

Answered
Overlay two images using transparency
Possibly of interest to you is Steve's blog: How to overlay a foreground image over a background image? - MATLAB Answers - MATL...

2 years ago | 0

| accepted

Load more