回答済み
I have error when i convert modified julian data to datetime
MJD is a double, and so has resolution on the order of 6e-7 seconds. Which happens to not be good enough to convert back to exa...

9ヶ月 前 | 1

回答済み
Why is my function for a packed bed reactor not returning vectors for each column of F() when I run it like this?
You need to investigate to figure out why, but dPdW is suddenly going from relatively small to relatively large. format long g ...

9ヶ月 前 | 1

回答済み
question about code error
equation3 = a/sind(100) == 165/sind(B2); equation4 = 165/sind(B2) == c2/sind(C2); % 방정식 풀기 sol2 = solve([equation3, equation4...

9ヶ月 前 | 0

回答済み
Converting text file to array
format long g arr = readmatrix("WallContacts.txt")

9ヶ月 前 | 1

回答済み
combine bar chart with a line plot
x=["24h","48h","72h"]; y= [0.59 0.78; 0.61 0.84; 0.74 0.98]; yyaxis left bh = bar(x,y); ylim([0 1]) ylabel('Y_{EtOH} [g/g...

9ヶ月 前 | 0

回答済み
get(gca,'DataAspectRatio') does not refelct the real pixel ratio, and does not upate after stretching the figure window in default auto mode.
set(gca,'DataAspectRatio',a) when you set the DataAspectRatio then DataAspectRatioMode is set to 'manual' -- but the mode must ...

9ヶ月 前 | 0

回答済み
how can a symbolic derivative be vectorized automatically?
format long g syms a b c f(a,b,c) = a*sin(b)*exp(c) df = diff(f,b) A = rand(10,1); B = rand(10,1); C = rand(10,1); D ...

9ヶ月 前 | 2

回答済み
Obtaining unexpected results from the simulation
You say "simulation" which tells us that you are not doing these calculations symbolically. Which in turn tells us that whateve...

9ヶ月 前 | 0

| 採用済み

回答済み
Error : Dot indexing is not supported for variables of this type. 【MATLAB ROS Unity】
reg.getServiceInfo('unity_robotics_demo_msgs/SetModelConfiguration') is returning empty -- you either did not involve the ROS su...

9ヶ月 前 | 1

回答済み
ratio using for loops
if ratio_tax > 1 s_asterisk_tax = s_ast; break; end And make sure you put in protection for the case that you get th...

9ヶ月 前 | 0

| 採用済み

回答済み
How to plot sym array in given value
syms a1 a2 a4 a5; d1=100;d2=250;d3=50;d4=250;d5=100; % define transformation matrix T_01=[sin(a1) 0 cos(a1) 0; -cos(a1) 0 sin...

9ヶ月 前 | 0

| 採用済み

回答済み
How do you plot a line on a function defined by colors?
levels = unique(YourData); contourf(YourData, levels);

9ヶ月 前 | 0

回答済み
How to get new double array from sym array
syms a1 a2 a4 a5; d1=100;d2=250;d3=50;d4=250;d5=100; % define transformation matrix T_01=[sin(a1) 0 cos(a1) 0; -cos(a1) 0 sin...

9ヶ月 前 | 0

| 採用済み

回答済み
access time of data in cell array vs matrix
There is a useful command "format debug". Unfortunately it does not work in Livescript, so to run it here I have to use the hack...

9ヶ月 前 | 2

| 採用済み

回答済み
How can I receive a particular device signals using USRP?
If you have the cooperation of the device you want to talk to, then see techniques such as those described at https://www.mathwo...

10ヶ月 前 | 0

回答済み
I am plotting probability plots, but I want different colors for different data. All data are of different size ?
https://www.mathworks.com/help/stats/probplot.html#bu27cw3-1 is an example that shows adding a line to a probplot(), and one of ...

10ヶ月 前 | 0

| 採用済み

回答済み
Have fimplicit have the axis in the order of the function handle inputs, even when not every variable is used in the expression.
Your code already plots a horizontal line like you want. my_function = @(x,y) y fimplicit(my_function, '-*')

10ヶ月 前 | 0

回答済み
To plot 1D temperature distribution plot versus lenght of the channel of the fin
L=0.1; n=10; T0=0; T1s=40; T2s=20; dx=L/n; alpha=0.0001; t_final=60; dt=0.1; x = dx/2:dx:L-dx/2; %important change ...

10ヶ月 前 | 0

| 採用済み

回答済み
Solution of symbolic fourth order polynomial equation
You can get the complete symbolic solution... or a placeholder form that in practice is much more convenient. syms lambda A B C...

10ヶ月 前 | 0

回答済み
How do I write this conditional constraint for an optimization problem in MATLAB? 0 <= x1 <= a*x1 . If a= 0, x1=0 and when a=1 then Matlab must find x1.
Optimize twice, once with x1 forced to 0, and the second time with x1 set to a lower bound of 0 and an upper bound of infinity. ...

10ヶ月 前 | 0

回答済み
Data type converts from integer to array
Because R is a vector and you have r = floor(2 * R) / 4; which uses the vector R and assigns the result to r m...

10ヶ月 前 | 0

| 採用済み

回答済み
Why won't the arrays I make work in the functions I created where I need to find pressure?
D = calc_dome_height(x); That overwrites all of D for every iteration of the for loop, so at the end of the for loop, D is ...

10ヶ月 前 | 0

回答済み
Use "find" function in "datetime"
T = [datetime(2016,2,18); datetime(2016, 2, 18, 0, 0, 0.1)] id = find(T == '2016-02-18 00:00:00') Both entries display the sam...

10ヶ月 前 | 1

| 採用済み

回答済み
What is missing from MATLAB #2 - the next decade edition
I'm sure I mentiond this at some point... but it would be useful if you could substitute a logical index for more than one dimen...

10ヶ月 前 | 3

回答済み
Using clickableLegend() with Errorbar() for Interactive Data Highlighting and Display
For reasons I do not currently understand, when you use the multi-output version of legend() on an errorbar object, no text labe...

10ヶ月 前 | 0

| 採用済み

回答済み
Scatter not showing full precision of data.
format long g whos -file data.mat load('data.mat'); duz = diff(unique(zrate)) ; min(duz) min(zrate), max(zrate) You may ha...

10ヶ月 前 | 1

| 採用済み

回答済み
Error in bvp4c code
ya is a scalar. You construct an anonymous function that ignores its parameters and passes ya to a function. Inside the called f...

10ヶ月 前 | 0

回答済み
Keep getting error about invalid parameter name.
T = table(a, a_t, p, d, 'variablenames', v_n);

10ヶ月 前 | 0

回答済み
How to add a high-speed test in a self-defined FAST feature detector function?
if intensityD(:,:,1) > threshold high_speed_count(:,:) = high_speed_count(:,:) + 1; end That code is equivalent to if al...

10ヶ月 前 | 0

| 採用済み

さらに読み込む