Answered
Unaffected frequencies of a bandpass
There are no unaffected frequencies in a transfer function, with the exception of a transfer function that is simply a constant ...

3 years ago | 0

Answered
How to see if a .WAV file is saturated?
You may have to choose your "very close to 1" to be fairly strict for "above 1%" to work out as a boundary Nsamp = 30000; Fs =...

3 years ago | 0

| accepted

Answered
how to remove zeroes from the end of column in a matrice
after the importdata, lastused = find(any(zT(i).Data,2),1,'last'); zT(i).Data = zT(i).Data(1:lastused,:);

3 years ago | 0

Answered
solve function with two variables by ga toolbox
format long g FitnessFunction = @(x) 0.25-4.27*x(1)+0.61*x(2)+13.34*x(1)*x(2)-4.69*x(2).^2; lb = [0.001,0.01]; ub = [0.045,0....

3 years ago | 0

| accepted

Answered
when i run code i get Error using grafic Error: Invalid expression. Check for missing or extra characters. i don“t know how to fix it, help me
v1 is purely numeric. vectorize() expects to be passed a string scalar or a character vector or a symbolic expression (or array ...

3 years ago | 0

| accepted

Answered
When will WLAN toolbox 802.11AZ packet format be updated to a later AZ version, because the waveform in the standard changed?
You will need to contact your Mathworks Sales representative and arrange a non-disclosure agreement to get that information. Fut...

3 years ago | 0

Answered
code to read C3d into matlab
https://www.mathworks.com/matlabcentral/fileexchange/69372-ezc3d

3 years ago | 0

Answered
Multiple surf woth different colorbar limits on a single plot
You appear to be using older-style graphics (in particular not App Designer / uifigure) In this situation you can call the File...

3 years ago | 0

| accepted

Answered
how to create a 2*2 matrix by combining two matrices with size of 2*2 ie A and B are 2*2 and i want to get C also 2*2
A =[1 2;3 4]; B=[2 3;5 6]; switch randi(12) case 1; C = A + B; case 2; C = A - B; case 3; C = B - A; cas...

3 years ago | 0

Answered
how to make a window show up several times in matlab app designer?
I suggest creating it once, and setting its Visible property to 'off' when you do not need it. When you need it, set Visible 'on...

3 years ago | 0

Answered
Does MATLAB normalizes the input by default when calling 'fitrnet'?
No. It only does that if "Standardize",true is requested. Mathworks recommends using standardize

3 years ago | 0

Answered
save thw values of four variable in a file
If you do not need headers, put them in a vector and writematrix. If you need headers create a table() and writetable

3 years ago | 0

Answered
How can I convert comma-separated elements in a string into variable names?
Consider A=1 B=1 C=2 zlist1='A,C' zlist2='B,C' zin1=eval("["+zlist1+"]") zin2=eval("["+zlist2+"]") Yo...

3 years ago | 0

Answered
Hi, Im new to GA and dont understand how to solve this
You have a file objfun2.m in which the first executable word is not function or classdef . In MATLAB, such files are called "scr...

3 years ago | 0

Answered
what is the meaning of "red and green narrow bands filtered by monochromatic filter"
Example: img = imread('flamingos.jpg'); imshow(img); title('original'); R = img(:,:,1); G = img(:,:,2); B = img(:,:,3); ...

3 years ago | 0

| accepted

Answered
I'm getting Error: File: rk4.m Line: 47 Column: 1 This statement is not inside any function.
When you have a script and functions in the same file, the script must be first. x = linspace(0, 1, 100); y = rk4(@(x, y) sin(...

3 years ago | 1

| accepted

Answered
I just to confirm my syntax of abs and mode
Not exactly. syms alpha n = [1 2 3 4 5] x(mod(n, 2) == 0) = 5 * alpha .^ (abs(n(mod(n, 2) == 0))/2) length(n) length(x)

3 years ago | 0

Answered
How to Rescale a plot?
T = seconds(data(:,1)); T.Format = 'hh:mm'; Without changing anything else, this will plot the x axes using tick labels of 00:...

3 years ago | 1

| accepted

Answered
How do I use Saveas function to save figure2 ?
saveas(2,'filename.jpg') For more security, fig2 = figure(2); saveas(fig2, 'filename.jpg') .. you should probabl...

3 years ago | 0

| accepted

Answered
How to show labels names?
FIrst (somehow) convert each score into its corresponding class name. Then when you call insertObjectAnnotation pass the class ...

3 years ago | 0

Answered
Specify grid of cells and compute/plot values inside
Generally speaking: You can discretize the coordinates independently, to get bin numbers along the x and y axes. Then you can...

3 years ago | 0

| accepted

Answered
How to plot polynomial by using Data points??
If the idea is that the points are a uniform distance apart, such as at x = 3, x = 5, x = 7, and so on, each position implied by...

3 years ago | 0

Answered
How can I access to the source code of FIS functions?
edit anfis edit genfis %and you will probably also want to edit genfis1

3 years ago | 1

| accepted

Answered
How can I set a specific bin size?
breakpoints = 1 : FixedBinSize : sz(2)-FixedBinSize+1; %... for xvalues = 1:length(breakpoints)-1 im = qudrant(:, break...

3 years ago | 0

Answered
Need to force imcrop display into a fixed aspect ratio
daspect([4 3 1]) daspect

3 years ago | 0

Answered
dicomread()command is not reading the .dcm format image
TransferSyntaxUID: '1.2.840.10008.1.2.4.80' According to https://dicom.nema.org/medical/dicom/current/out...

3 years ago | 1

| accepted

Answered
Help with Contour plot
Some improvements in your code: function [STR_SDV] = SIS_OP_SDV (K_SDV,T1_SDV) %variables are K_SDV and T1_SDV LS_S...

3 years ago | 0

Answered
BEAR toolbox for Mac - Why does MATLAB generate a blank excel results book?
The code is calling xlswrite(). On Mac and Linux, xlswrite() cannot write binary files, only csv files. The toolbox code should...

3 years ago | 1

Answered
How to input a force vector in ode45 function ?
[t, y]=ode45(@(t,y)testode2(t,y,R),t,y0);

3 years ago | 1

Answered
Is there a less bug-prone way to include quote in selector string variable when defining opt.TableSelector?
opt.TableSelector = "TABLE[contains(.,'" + headings(2) + "')]"; or opt.TableSelector = compose("Table[contains(.,'%s')", headi...

3 years ago | 0

| accepted

Load more