Respondida
What does this mean: K12_global(1:3:6,1:3:6)?
Another example indexes = 1 : 3 : 6 The next index would be 7 since 4 + 3 = 7, but since it was told to stop at 6, the 7 does ...

más de 2 años hace | 0

Respondida
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);

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

Respondida
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?

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

Cargar más