回答済み
Trying to use user input directly into another switch case.
switch q1:q2:q3

3年以上 前 | 0

回答済み
Equation and plot of an image
val= - (3475270952860169*x1.^9)/2147483648 + (8404527124189405*x1.^8)/2147483648 - (265994861691087*x1.^7)/67108864 + (466653583...

3年以上 前 | 0

回答済み
Please this code says Error using plot. Vectors must be the same length. Error in untitled2 (line 8) plot(I,V,'0');
I=[10 20 30 30 40 50 60 70 80 90 100]; V=[1.5 1.9 2.2 2.5 2.77 3 3.25 3.5 3.72 3.95 4]; % this vector has less number of eleme...

3年以上 前 | 0

| 採用済み

回答済み
Plotting complementary error function with 2 variables
T0 = 100; T1 = 70; c = 1; t = linspace(1,10,20); syms x u = (T0-T1)*erf(x./(2*c*sqrt(t)))+T0; fplot(u,[1 10]) you can t...

3年以上 前 | 0

回答済み
Somebody help me for my exercise please.
clc clear close all U=200; %velocity gamma=1000; %circulation Q=14; %vo...

3年以上 前 | 0

回答済み
Tracking code but no plots is observed
plot3(x,y,z,'b')

3年以上 前 | 0

| 採用済み

回答済み
Plot specific columns from a .txt file
data=readmatrix('4311_test.txt'); plot(data(12:end,3)*1e4,data(12:end,2)) % multiply with 10000 grid minor xlabel('10^{4}...

3年以上 前 | 0

| 採用済み

回答済み
Making a proper integral equation
f = x^-1*(sin(x^-1*log(x))) ; %

3年以上 前 | 0

| 採用済み

回答済み
Half plotting problem of spectrogram
imwrite(outputImage, destFile,'Quality',"lossless"); It appears that some part of the image data is being lost during write...

3年以上 前 | 0

| 採用済み

回答済み
I'm trying to change marker size in a graph
markerSize_types = 12;

3年以上 前 | 0

回答済み
when i run this programme which is a decomposition lu i get Error using / Arguments must be numeric, char, or logical. Error in untitled2 (line 10) L(:,1) = A(:,1)/U(1,1);
A=input("entrer le scoeficients de votre matrice"); B=input("entrer le vecteur");

3年以上 前 | 0

回答済み
Printing cell array elements
fprintf(' the root estimates xr=[x1;x2;...;xn] are: \n%f', R) Missing format specifier

3年以上 前 | 1

| 採用済み

回答済み
How do I use a for loop to keep the z dimension in the end?
A_Pad(:,:,iCoil) = upsample(A(:,:,iCoil),2);

3年以上 前 | 0

| 採用済み

回答済み
Dimensions of array being concatenated are not consistent
u= [um1.' uo]; % transpose um1

3年以上 前 | 0

回答済み
Extract rows that their columns have specific values
A = [ 0.1 0 ; 0.5 0 ; 3 0 ; 0 0 ]; for i = 1:size(A,1) if (A(i,:) >= 0) & (A(i,:) <=1) % ...

3年以上 前 | 0

回答済み
Converting Table to Readable Format for Scatter Plot
T1 = readtable('Data.xlsx'); T1_Data = table2array(T1); % this converts cell to numeric T1_Data = T1_Data'; % T1_Data = cell2...

3年以上 前 | 0

回答済み
Code for graphing bending moment is giving the wrong graph and I don't know why, can anyone help?
Mt=sum(M); May be by doing this change

3年以上 前 | 0

| 採用済み

回答済み
Zeros array outputting the last data set from loop instead of all iterations
rECI(:,idx) = R3Om*R1*R3w*r; % multiplying r perifocal vector by rotation matrices vECI(:,idx) = R3Om*R1*R3w*v; % multiplying v...

3年以上 前 | 1

| 採用済み

回答済み
Plot of an curve and its equation
x = 0 : 0.1 : 0.9; y = [0.584459303 0.496427561 0.351841147 0.269416786 -0.080568348 0.354476019 0.155290021 0.7550904...

3年以上 前 | 0

| 採用済み

回答済み
How to replace the zero with NaN in the specific column of cell arrays?
S = load(websave('I','https://in.mathworks.com/matlabcentral/answers/uploaded_files/1182108/I.mat')) K = cell2mat(S.I(:,1)); i...

3年以上 前 | 1

| 採用済み

回答済み
How to convert column to a cell's arrays?
D = load('CF.mat') D.CF for k = 1:height(D.CF) I{k,:} = D.CF(k,:); end I

3年以上 前 | 1

| 採用済み

回答済み
Error: "filename" must be a string scalar or character vector.
subDir = 'DataFile\'; Change this line as above.

3年以上 前 | 0

回答済み
Understanding how to apply for loop ?
SNR1 = rand(1,100).'; % the vector with SNR1 values SNR3 = rand(1,100).';% the vector with SNR3 values I = randi([1 100],[1 10...

3年以上 前 | 0

回答済み
How to perform functions on txt files
height1 = ((B)./(log(P./rinf)))-273.15

3年以上 前 | 0

| 採用済み

回答済み
MATLAB double addition format long
format long x = 14.1 % x = 0.1 x = 14.1 + 0.1 % when you include + operator When a mathematical operator /computation ...

3年以上 前 | 0

回答済み
MATLAB App Designer: How to display a scatter plot on the UIaxes with linear fit and equation of line ?
str = [107.0176, 256.7374, 257.2012, 441.7806, 420.5170, 602.7027, 591.8610, 756.6289, 896.9324]; Ec1 = [23.8829, 19....

3年以上 前 | 0

回答済み
Too many Input arguments error
clear syms x %Givens v=300; %(m/s), Value based on user input g=9.81; %m/s^2), Constant h=4; %(m) starting launch height t...

3年以上 前 | 0

回答済み
How to add line into an array
A = [1:10 , 15: 30];% your data R = [A(1:10), zeros(1,4), A(11:end)]

3年以上 前 | 0

| 採用済み

回答済み
While playing code, finding following error.
f = @(x1,x2)((x1).^2+2*(x2).^2-4*(x1)-2*(x1.*x2))

3年以上 前 | 0

さらに読み込む