回答済み
Question about outputting a matrix to a pgm file
Yes, the PGM file format is relatively simple. You can fopen(), fprintf() several times, and fclose() https://netpbm.sourceforg...

6ヶ月 前 | 0

回答済み
Error "It must be of type 'Type::MATLABOutput"
f_35dB = solve(ESD == max(ESD)/3162, f); max(ESD) returns a max() expression that is incompatible with the result of the calcul...

6ヶ月 前 | 0

| 採用済み

回答済み
How can I export transfer functions or data from System Identification app to MATLAB workspace using a script?
Suppose you have a SID file named "testit.sid", use the following command to generate a struct named "S". S = load('testit.sid'...

6ヶ月 前 | 0

| 採用済み

回答済み
Error "It must be of type 'Type::MATLABOutput"
syms t w; x_t = exp(-100*t)*(heaviside(t)); X_w = fourier(x_t, w); ESD = abs(X_w)^2; % Plot ESD against linear frequency f ...

6ヶ月 前 | 0

| 採用済み

回答済み
Open up a full size figure window on 2nd display
You should add the option 'WindowState', 'maximized' or 'WindowState', 'fullscreen'

6ヶ月 前 | 0

| 採用済み

回答済み
Programmatically calculate indices of the outline of a circle and all points within in it
X = 0.375:-0.125:-0.375; % x coordinates Y = -0.375:-0.125:-.375; % y coordinates npoints = [99 99]; % define improved resolut...

6ヶ月 前 | 0

| 採用済み

回答済み
A complex form containing constant, linear, quadratic, etc., forms
N = 3; syms x X1 a [N 1] real syms A X2 [N N] real syms C X3 [N N N] real syms E [N N N N] real for i=1:N % Linear interac...

6ヶ月 前 | 0

回答済み
I need help plotting data from a file
The table you are reading has some number of variables that is different than 2. There are ways to specify the range that you ...

6ヶ月 前 | 0

回答済み
Setting a default colororder
C = orderedcolors("gem12"); set(groot, "defaultaxescolororder", C)

6ヶ月 前 | 0

| 採用済み

回答済み
Execution of script Faddeeva_w as a function is not supported:
You need to first execute Faddeeva_build to configure the remaining functions for use with your system.

6ヶ月 前 | 0

回答済み
How to execute double for loop?
You have nested parfor loops, but each time you are overwriting the (j) entry result =log2(N) + (1/N).*( (1/(4.*pi...

6ヶ月 前 | 0

| 採用済み

回答済み
How to calculate the value of (x) on xaxis in MATLAB ?
Q = @(v) sym(v); pt1 = Q(2) ; pt2 = Q(3.954) ; h = Q(0.4) ; % wave length dx = Q(1) ; z = Q(30) ; syms L x1 = exp( j*( ...

6ヶ月 前 | 0

回答済み
How I have all three error bars in one figure
R1=10 R2=27 R3=10 Rtotalseries=R1+R2+R3 Vs=5 Itotal=Vs./Rtotalseries V1=(Vs./Rtotalseries).*R1 V2=(Vs./Rtotalseries).*R2 ...

6ヶ月 前 | 0

回答済み
why validateFcns is not working in my nlmpc Code?
The problem is that when you specify a character vector for the function, then the function cannot be a local function (must hav...

6ヶ月 前 | 0

| 採用済み

回答済み
How to Use SegFormer in Matlab
SegFormer is a Python toolbox from NVIDIA. https://docs.nvidia.com/tao/tao-toolkit/index.html You can invoke the python from i...

6ヶ月 前 | 1

| 採用済み

回答済み
Direct Connection of IMU Sensor to MATLAB
The problem is that IMU sensors typically do not have a USB interface, and typically do not have an PCI or PCIe interface that w...

6ヶ月 前 | 1

| 採用済み

回答済み
Summing two signals should result in zero, but doesn't
Round-off error. The calculation of cos() is not perfect. You can reduce the round-off error by using cospi() % define signal ...

6ヶ月 前 | 0

| 採用済み

回答済み
My image is stored in struct format after loading a .mat image. How to convert it back into image form ? It load as a struct 1x1 format.
data=load(currentFile); The result of load() of a .mat file is a struct with one field for each variable loaded. data=...

6ヶ月 前 | 0

| 採用済み

回答済み
Matrix is returning zero when the values clearly shouldn't.
%% Data Import high_S25_D2 % Importing the file high_S25_D2 = readmatrix('HighSpringRateS2.5D2.txt'); % Separating column...

6ヶ月 前 | 0

回答済み
How can i make the legend as shown in the figure attached?
The trick would be to configure two columns for the legend... and configure the legend entries for the first three legends to en...

6ヶ月 前 | 0

回答済み
Use of interp2 in an arbitrary dataset
x=[0.25;0.50;0.75]; y=[0.25;0.60;0.35]; Z = [0.5; 1.5; 3.0]; [Xq,Yq] = meshgrid(0:.01:1, 0:.01:1); F = scatteredInterpolant(...

6ヶ月 前 | 0

回答済み
How to do bit-wise operations on symbolic variables that may be very long possibly larger than inter 64
a = sym(12345); b = sym(9867); c = sym(0); n = sym(0); while a>0 |b>0 digita=mod(a,2); digitb=mod(b,2); c=c+m...

6ヶ月 前 | 1

回答済み
Hi, I have a question about buffer function and about fft function.
Buffer without overlap is easy. take the length of the signal do an integer division by the buffer length to get the number of...

6ヶ月 前 | 0

回答済み
i recieved a message "We are unable to offer you a trial",why?
One of the common reasons for not being able to be offered a trial, is if you happen to be in a country for which there is a dis...

6ヶ月 前 | 0

回答済み
How to open Tonatiuh output .DAT files in MATLAB?
According to https://code.google.com/archive/p/tonatiuh/ The binary format used to store the values is Real64 with big-endian ...

6ヶ月 前 | 0

| 採用済み

回答済み
How does the matrix product block work?
The input signal is dimension 2, not 1 x 2 or 2 x 1. You need to pass it through a reshape block https://www.mathworks.com/help/...

6ヶ月 前 | 0

回答済み
Issue with getframe()
The image is RGB; you cannot change the colormap on RGB images. The image has tick marks drawn into it. When you image() or ima...

6ヶ月 前 | 0

回答済み
Offering Designated Computer Activation
I was asked by a User of our license, If I could unlock MATLAB (designated computer) for him The answer is No, not when you are...

6ヶ月 前 | 0

回答済み
How to use a slider's value as an index to plot a dot that moves in App Designer
round(n); That has no effect, as you are not assigning the result to anything. But it is unnecessary anyhow: you u...

6ヶ月 前 | 0

| 採用済み

回答済み
how to modify a variable data by scale function like data= scale(data); I have to modify scale function for variable data
Given only the above information: function scaled = scale(data) scaled = data ./ 1000; end The 1000 should be adjusted to...

6ヶ月 前 | 1

| 採用済み

さらに読み込む