Answered
Is it possible to use gscatter in matlab app designer?
In your release, R2018a, gscatter hard-codes calls to gcf and to newplot without any parameters. gcf() and newplot() can only ...

2 years ago | 0

Answered
How can i fix the indices on the right to fit the indices on the left?
Channels = 2; The recorded data will have 2 channels. signalLength = length(signal); length() should typically only be used f...

2 years ago | 0

Answered
How to use arrays and functions from a script as input in a matlab function?
[s1]=code2(y,Ts,f) That is, you must invoke a function file by the name of the file that stores the function. The function line...

2 years ago | 0

| accepted

Answered
scroll in position down
See scroll

2 years ago | 0

| accepted

Answered
Saving multiple files in one folder
figpath = 'C:\Users\8765309\fig_test' ; % theta vs x at point x=0 and y=0 figure(1) hold on lgd = ['\xi = ',num2str(xivals...

2 years ago | 0

| accepted

Answered
How do I find all odd numbers between 1 and 60 but are divisible by 5?
hint: for i = 1 : 60 r7 = remainder7(i); if r7 == 0; disp(i); end end function v = remainder7(v) while v >= 7 ...

2 years ago | 0

Answered
Gather Tall array Error - No Workers are available for Queue excution
In some discussion not long ago, some people including some Mathworkers were talking about what happens when an error is detecte...

2 years ago | 0

| accepted

Answered
Solving systems of equations graphically and finding where they cross.
How can I find the exact coordinates for where y and F(x) intersect? You cannot. There is no known closed-form expression for t...

2 years ago | 0

Answered
How Could we mirror and Freehand ROI Object in Matlab?
ROI_left.Vertices will be an N x 2 array of coordinates. You can extract, transform as you want, and plot() over the new image....

2 years ago | 0

Answered
How to display Variables from a script on to an OLED using simulink
Use simulink arduino I2C blocks; https://www.mathworks.com/matlabcentral/answers/318267-how-to-communicate-with-the-arduino-i2c-...

2 years ago | 1

| accepted

Answered
Getting the error "too many input arguements" on filterDesigner
The most common cause of problems similar to this, is if you happen to have a function on your MATLAB path that has the same nam...

2 years ago | 0

| accepted

Answered
I managed to change the angle with fixed numbers, but I need it to change over time.
Any time you have a value needed for ode calculation change discretely, you need to stop executing the ode*() call at the bounda...

2 years ago | 0

Answered
problem with dateshift..how solve it?
dt=data1:days(7):data2 does end before data2 -- the last entry is the 12-Nov-2023 that you see displayed. But then you take som...

2 years ago | 1

Answered
The following error was reported evaluating the function in FunctionLine update: Unable to convert expression containing remaining symbolic function calls into double array
syms t w; % Define the first signal u(t)-u(t-2) using the heaviside function x1 = heaviside(t) - heaviside(t-2); % Define...

2 years ago | 1

| accepted

Answered
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...

2 years ago | 1

Answered
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 ...

2 years ago | 1

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

2 years ago | 0

Answered
Converting text file to array
format long g arr = readmatrix("WallContacts.txt")

2 years ago | 1

Answered
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...

2 years ago | 0

Answered
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 ...

2 years ago | 0

Answered
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 ...

2 years ago | 2

Answered
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...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 1

Answered
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...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 0

| accepted

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

2 years ago | 0

Answered
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...

2 years ago | 0

| accepted

Answered
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...

2 years ago | 2

| accepted

Answered
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...

2 years ago | 0

Load more