回答済み
How to do I get the standard deviation from an eeg input signal in SImulink?
The instantaneous standard deviation of a signal is 0. Standard deviation normally depends on a complete population -- a comple...

2ヶ月 前 | 0

回答済み
How do I add a column to table?
You can add a new table variable by using either dot notation or the "addvars" function. Dot notation adds new variables to the ...

2ヶ月 前 | 2

| 採用済み

回答済み
Can't use conv() after using coeffs()? It works when manually inputting the coefficients but doesn't when it is taken using coeffs
syms s eq1 = 2*s^2 + 3*s - 1; N = coeffs(eq1, 'All'); eq2 = s^3 +6*s^2 + 1; D = coeffs(eq2, 'All'); T = conv( double(N)...

2ヶ月 前 | 0

| 採用済み

回答済み
How do I implement a one-second buffer for incoming UDP data?
For real-time operations, you cannot (should not) use dynamic memory allocation. Dynamic memory allocation runs the risk of run...

2ヶ月 前 | 0

回答済み
retrieve mat-file version for v7.0
The difference between -v5 and -v7 has to do with the variety of objects that are stored. If a particular .mat file does not hap...

3ヶ月 前 | 1

| 採用済み

回答済み
How to Increase plotting speed
tic L=0.1; a=L/2; v=3e8; f1=1.2e9; f2=4.8e9; f3=10e9; w1=(2*pi*f1); w2=(2*pi*f2); w3=(2*pi*f3); Z01=50; Z02=50; a0...

3ヶ月 前 | 0

| 採用済み

回答済み
How to bring in a single channel EEG signal from MATLAB workspace into Simulink?
t = (0:length(YOUR_EEG_SIGNAL)-1) / fs .'; SIGNAL = [t, YOUR_EEG_SIGNAL(:)]; assignin('base', 'SIGNAL', SIGNAL); Now From Wor...

3ヶ月 前 | 0

回答済み
liscence manager error 8
You will not be able to fix the error instantly. https://www.mathworks.com/matlabcentral/answers/100496-why-do-i-receive-licens...

3ヶ月 前 | 0

回答済み
Cross-section (Need help to correct the code or modify it )
atand() with one parameter returns values in the range -90 to +90, not in the range 0 to 90 to 180. No single-parameter atand() ...

3ヶ月 前 | 0

| 採用済み

回答済み
Issues with script writing mixed text/numeric data to file as a table
fprintf(fid, '%5.1f %4.1f %4.1f', [CENTIMETERS, KILOGRAMS, BMI] .') fprintf() works by first using up all of th...

3ヶ月 前 | 0

| 採用済み

回答済み
User-defined monthly loan payment function issues
M=P*((r/1200)/(1-(1+(r/1200)))^((-12)*N)) 12 1 2 3 4 321 23 2 10 That has a sub-expression (1-(1+(r/1200)))...

3ヶ月 前 | 0

| 採用済み

回答済み
Parallel computing on cell array.
Use a cell array. Inside the parfor: p1 = pArray{i}; x = p1.positionx; y = p1.positiony; and so on

3ヶ月 前 | 0

回答済み
Why is my code seemingly ignoring some of the for loop commands?
function b=mybin2dec(x) You do not assign anything to b . Your code will error unless you do not assign the result of mybin2dec...

3ヶ月 前 | 1

| 採用済み

回答済み
How do I plot a quiver plot without the tail?
quiver(___,LineSpec) sets the line style, marker, and color. Markers appear at the points specified by X and Y. If you specify a...

3ヶ月 前 | 0

回答済み
Splitting columns of a table
files = dir('mvn_lpw_l2_lpnt_20150301_v03_r02.csv'); tab = readtable(files.name, 'Delimiter', ',', 'VariableNamingRule', 'pres...

3ヶ月 前 | 0

| 採用済み

回答済み
how to crop image automatically to 512x512px?
RegionSize = 512; I=imread('1_245.jpg'); figure, imshow(I); I=rgb2gray(I); BW=I>100; figure,imshow(BW); labeledImage = b...

3ヶ月 前 | 0

| 採用済み

回答済み
Use Retime of a timetable to interpolate to timestamps of another timetable, without interpolating across NaNs
Specify a function handle for the retime aggregation method. "All the listed methods omit NaNs, NaTs, and other missing data i...

3ヶ月 前 | 0

回答済み
error using saveas in fig format
Notice the error is shown as being on line 14 of savefig Line 14 of the Mathworks supplied savefig gor R2022b is % savefig(H,...

3ヶ月 前 | 0

| 採用済み

回答済み
The "union" function for polyshapes performs an incorrect consolidation of adjacent polyshapes when presented as a vector
polyshapes contains oriented polygons. A polyshape with its vertices backwards is considered to be reverse direction. This is ...

3ヶ月 前 | 0

回答済み
Input folders or files contain non-standard file extensions.
TrainingSet/English contains no files with standard audio file extensions. You need to change ads = audioDatastore...

3ヶ月 前 | 1

回答済み
How to choose one between two constraint conditions
prob.Constraints.con1=x<=10 or prob.Constraints.con1=x^2<=10 You have a lower bound of 0 on x. Under the conditions, x^2<=10 is...

3ヶ月 前 | 1

回答済み
Anyone know how to create/ declare arrays, structer in simulink?
You can use MATLAB Function Blocks. Or for structs, you can construct Simulink Bus objects; https://www.mathworks.com/help/simu...

3ヶ月 前 | 0

回答済み
How to simplify one expression without Negative(-) mark
MATLAB Symbolic Toolbox automatically re-arranges expressions into "canonical form" in order to make it simpler to share parts o...

3ヶ月 前 | 2

| 採用済み

回答済み
Generate code for Mac using MATLAB Coder running on Windows?
That is not a supported toolchain (I don't know if it would be possible to get it to work.)

3ヶ月 前 | 1

回答済み
Indexing through arrray in simulink with a for iterator
The output of From Workspace is a sampled signal, sampled at the current time. The output of From Workspace is *not* an array (u...

3ヶ月 前 | 0

回答済み
Check input is a string or Char if so reprompt
a = input("Please enter a number: "); %Takes user input for number that is to be converted while ~isnumeric(a) || numel(a) ~= 1...

3ヶ月 前 | 0

回答済み
Error when using if-else statement in MATLAB function block. How can I fix this error described below?
m = (k_f*(0.5*(((g*beta*q_w*x^4)/(nu_novec*alpha_novec*k_m))*(((d_pore^2)*psi^3/(180*(1-psi^2)))/x^2))^(0.4)))/(x); 1 2...

3ヶ月 前 | 0

回答済み
How to vectorize this nested for loop?
ind = sub2ind(size(image), yd, xd, 1); imageCylindrical(:,:,1) = image(ind + 0 * ydim*xdim); imageCylindrical(:,:,2) = image...

3ヶ月 前 | 0

| 採用済み

回答済み
cell2table not working!
The first 18 results of spdfcdfread() are 21600 x 1 (of various numeric data types) Then you have a 21600x3 followed by two 216...

3ヶ月 前 | 0

回答済み
I am getting "Unable to resolve the name 'CNN.parse'" error. when I am trying to produce results of CAV_2020 Image star. I installed computer vision and deep learning tool box
MATLAB does not have any function or package named CNN . It appears that you are expecting CNN to be loaded as part of Small_Co...

3ヶ月 前 | 0

さらに読み込む