回答済み
Use sky colormap in old Matlab version
Generation: C = [0, 447/1000, 741/1000]; now for any fraction F between .1 and 1, 1-(1-baseColor)*F subdivide the range .1 t...

10ヶ月 前 | 0

回答済み
I am trying to have a user input a part of a file name which will open the whole file.
trackfile = "Track P" + tracknum + ".csv"; [fid, msg] = fopen(trackfile, "r"); if fid < 0 error('Could not open file "%s"...

10ヶ月 前 | 0

| 採用済み

回答済み
数组索引必须为正整数或逻辑值。
T=100e-6; %脉冲宽度100us B=10e9; %频带宽度1G...

10ヶ月 前 | 0

| 採用済み

回答済み
Finding Coefficients for the particular solution
% y'' +3y'+3.25y = 3cos(x)-1.5sin(x) syms y(x) dy = diff(y); d2y = diff(dy); eqn = d2y + 3*dy + 3.25 * y == 3*cos(x) - 1.5*s...

10ヶ月 前 | 0

回答済み
Operands to the logical AND (&&) and OR (||) operators must be convertible to logical scalar values. Use the ANY or ALL functions to reduce operands to logical scalar values.
[t, y] = ode45(@(t, y) ode_LR(t, y, kf_1, kb_1), timespan, [Receptor_concentration; C_LigandReceptor_0]); The output t will be ...

10ヶ月 前 | 0

回答済み
Rotate an object based on regionprops Orientation, MinFeret and MaxFeret angles
close all; clear; clc; I = (insertText(zeros(150,150),[0 0],'B','BoxOpacity',0,'FontSize',70,'TextColor...

10ヶ月 前 | 0

| 採用済み

回答済み
help correct the error
Nx = 50; % Number of grid points in x-direction Ny = 50; % Number of grid points in y-direction Nz = 50; % Number of grid poin...

10ヶ月 前 | 0

回答済み
int integral with three parameters
Infinite number of solutions. H = 50; z = H/2; Z = z/H; Pe = 4; syms x y Z_p R_p = ((x^2 + y^2)^0.5)/H; R = (sqrt(R_p +...

10ヶ月 前 | 1

| 採用済み

回答済み
Error using () Subscripting into a table...
You are passing a table() object as a parameter to dot() It looks like either stress_vectors or else slip_panes is a table() ob...

10ヶ月 前 | 1

| 採用済み

回答済み
Loading in a table that has multiple values in a single cell seperated by a comma
You are trying to use ismember() to compare two tables directly. ismember() only permits that if all of the same variables occur...

10ヶ月 前 | 0

回答済み
significant figures from h5read() output
str2num(vals(i)) would be a number -- an error if vals(i) is not character vector or string scalar. If it is a character vector ...

10ヶ月 前 | 0

| 採用済み

回答済み
i cant find the error in line num 14 ([b, a] = butter(6, normalizedCutoffFreq,'low'); )
You would get an error in the call to butter() (but not in earlier lines) in the case that the frequency of the stored data in t...

10ヶ月 前 | 0

回答済み
how can Matlab's filter() function generate the output y[n] when the input is given by the plot in the image with input long enough to see all the non-zero values of y[n].
Since no constraints are given on what the output signal should look like, you might as well make the output be exactly the same...

10ヶ月 前 | 0

回答済み
MEX -setup does not see my compiler
There were very few instances in which a version of MATLAB supported a compiler named with a year later than the release year of...

10ヶ月 前 | 0

| 採用済み

回答済み
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
clc;clear;format compact; syms V P=[0.98 1.97 4.93 9.86 49.36 98.69]; %atm T=[573 573 573 573 573 573]; %K R=461.5; %Pa*m3/m...

10ヶ月 前 | 0

回答済み
Error in parfor (First argument must be scalar.)
The error is not on the parfor line. The error is in the call to factor() that is somewhere in your parfor loop

10ヶ月 前 | 0

回答済み
Convert matlab [DSP] TSM toolbox code to C plus plus
No. MATLAB Coder cannot generate code for graphics and some of the toolbox files create graphics.

10ヶ月 前 | 0

| 採用済み

回答済み
How to select specific files from a list
<https://www.mathworks.com/help/matlab/ref/endswith.html>

10ヶ月 前 | 0

回答済み
Linking two sets of data to be in line with eachother
Perhaps idx = interp1(loadValues1, 1:numel(loadValues1), loadValues2, 'nearest')

10ヶ月 前 | 0

回答済み
How can I change the label after using my sim function
A = [0.9607, 0.0196, 0.1776; -0.0098, 0.9999, -0.0009; 0, 0, 0.8187]; B = [0.0185, 0.1974; -0.0001, 0.1390; 0.1813, 0]; C = [1...

10ヶ月 前 | 0

| 採用済み

回答済み
Align table data to the left
Yes. You could copy all of the code having to do with implementing tables. Then modify it so that tables inherit from matlab.m...

10ヶ月 前 | 1

回答済み
Getting an equation from a signal transfer function
Your formula for calculating the transfer function is not correct. Observe this simple example: syms t f1 = sin(t) f2 = sin(2...

10ヶ月 前 | 0

回答済み
Can't solve the equations
You had a number of places where you were using the character ⁄ which is the "fraction slash" https://www.compart.com/en/unicode...

10ヶ月 前 | 0

回答済み
Printing a calculated function.
syms t T x(t) = cos(8*pi*t) y(t) = rectangularPulse(-2.5, 2.5, t) z(t) = int(x(t)*y(T-t), T, -inf, inf) %continuous con...

10ヶ月 前 | 0

回答済み
Trying to Vectorise Cell Allocation to Remove For Loops
Your coordinates are the same size for each cuboid, and the size is predicatable. Use a numeric array instead of a cell array. ...

10ヶ月 前 | 0

回答済み
Issue loading classifier created with a previous version of Matlab
You do not have the Statistics and Machine Learning toolbox installed and licensed on the new system.

10ヶ月 前 | 0

回答済み
Jacobian matrices of 6DOF robot not calculable
Here is a performance improvement trick: syms J_ [6 6] detJ_ = det(J_); %will be fast detJ = subs(detJ_, J_, J); This wil...

10ヶ月 前 | 1

| 採用済み

回答済み
reduce resolution of an MRI image
When you fft() a 1D signal, the first output bin is sum() of the 1D signal. Now, if you were to think about sum() of the signal ...

10ヶ月 前 | 0

回答済み
Find a parameter in a multi-tiered structure
You are perhaps looking for something that MATLAB refers to as "dynamic field names"; https://www.mathworks.com/help/matlab/matl...

10ヶ月 前 | 0

| 採用済み

回答済み
How to export data from an image histogram to an Excel file
T = table(x, count, 'VariableNames', {'Pixel Value', 'count'}); writetable(T, 'NameOfTheSpreadsheetGoesHere.xlsx');

10ヶ月 前 | 1

| 採用済み

さらに読み込む