Respondida
How to extract the expression inside of a trig function?
Hi, If you want to get the coefficients of symbolic expression, you can coeffs function. For instance, syms x c = coeffs(16*...

alrededor de 3 años hace | 0

Respondida
How to use an array (saved as a mat file) in my C program?
Hi, In addition to the above documentation links, You might find this answer helpful: https://www.mathworks.com/matlabcentral/...

alrededor de 3 años hace | 0

Respondida
Tabs within Tabgroups in MATLAB app designer
Hi, You can only change the size of entire tabgroup. You can not change the size of individual tabs.

alrededor de 3 años hace | 0

| aceptada

Respondida
MLAPP: Add contextmenu to particular cells in uitable
Hi, You can not set contextmenu to particular cells in uitable. I have brought this issue to the concerned people and it might ...

alrededor de 3 años hace | 0

| aceptada

Respondida
Home use license - sharing my MATLAB creations on MATLAB Central?
Hi Kerry, Yes, you can share your MATLAB work with other users.

alrededor de 3 años hace | 0

| aceptada

Respondida
Change non-listed, unaccessible(?) properties in app designer
Hello, Currently, there is no option to Change the background color(grey) of the tabgroup. Change the color of checkbox Ch...

alrededor de 3 años hace | 1

| aceptada

Respondida
App Designer - Writing Data to Txt File
Hi, To write data into a file, use fopen to open file. It gives a fileID to identify the open file. Now you can write data int...

alrededor de 3 años hace | 1

Respondida
how to do functions without file ?
Hi, In MATLAB, you can define multiple functions in the same file. The first function in the file is called main function, all...

alrededor de 3 años hace | 0

Respondida
Holding stepplot and pzplot in same loop
Hi, One solution might be creating axes outside the function and pass them as parameters to the function. Use hold on and plot...

alrededor de 3 años hace | 0

| aceptada

Respondida
How to label graph curves?
Hi, From my understanding, you have multiple subplots and what to label each of them with the incident angle. After creating s...

alrededor de 3 años hace | 0

| aceptada

Respondida
Moving a line forward
Hi, From my understanding, you want to plot a line, and then move it some units with respect to x axis and plot it. You can dr...

alrededor de 3 años hace | 0

| aceptada

Respondida
how to show matlab scope results on gui?
Hi, Data can be saved to the MATLAB workspace/mat file through a Simulink Scope block. For data to be saved, you need to set Sc...

alrededor de 3 años hace | 0

Respondida
rptgen.cfr_line_break
Hi John, You can use the escape sequence '\n' to add a new line. For more information and example, Refer to this answer answe...

alrededor de 3 años hace | 0

Respondida
uihtml doesn't play .MP4 Video
Hi, Built-in MATLAB browser does not support playing .mp4 videos. I have brought this issue to the concerned people and it migh...

alrededor de 3 años hace | 0

Respondida
create a video or gif using .PNG file
Hi, Refer to this answer answered by community - https://www.mathworks.com/matlabcentral/answers/153925-how-to-make-a-video-fro...

alrededor de 3 años hace | 0

| aceptada

Respondida
How to compare number in Edit Field to number in Ui Table, then checking box?
Hi, In this line of code in the updated code UITABLE4DATA(rowindex,1) = {1} ; It replaces the content of cell with value '1'...

alrededor de 3 años hace | 0

Respondida
How to plot manipulability index of a 5dof robotic arm?
Hi, In this line of code, [X,Y]=meshgrid(px,py); >> X = cos(th1)*(102*cos(th2 + th3 + th4) + 25*cos(th2 + th3) + 20*cos...

alrededor de 3 años hace | 0

Respondida
Calculating limits, derivatives, and integrals in AppDesigner
Hi There are two types of Edit Fields, one for Numeric values and the other one is for text. If you try to store or retreive ...

alrededor de 3 años hace | 0

Respondida
hoe to mark tittle on graph
Hi, For example, plot((1:10).^2) title('My Title') % Add title to plot xlabel('x axis label') % Add label to x axis ylabel(...

alrededor de 3 años hace | 1

| aceptada

Respondida
Use reshape and/or remap to create matrix where every other row is negative
Hi, Refer to the documentation and examples of repmat and reshape.

alrededor de 3 años hace | 0

Respondida
Unable to perform assignment because the left and right sides have a different number of elements. Error in Esram2 (line 61) g(a+1) = g(a) - (N / D) - T; >>
Hi, In this line of code, g(a+1) = g(a) - (N / D) - T; Sizes of variables are: g(a) - 1x1 double ...

más de 3 años hace | 0

| aceptada

Respondida
Write the following function f(t)=sint*cost using the following methods
Hi, Refer to the documentation pages: for, vectorization, tic, toc

más de 3 años hace | 0

Respondida
Index exceeds matrix dimensions
Hi, In the code, you are assigning a value to variable 'u' u =100 % 1x1 Double Implies you can only index till 1(since we hav...

más de 3 años hace | 0

Respondida
how to make a Joint PDF?
Hi, I did not get the term joint pdf. In case joint pdf means getting all pdfs on the same figure, you can try this out. [f,x...

más de 3 años hace | 0

Respondida
How to Graph more than one ODE on a plot
Hi, As per my understanding, you want to plot 2 ODEs on same graph. Use can use hold command to add many plots on existing axes...

más de 3 años hace | 1

Respondida
How to properly set up my Transfer function
Hi, The numerator and denominator coefficients of transfer function should be a row vector or a cell array of row vectors. In t...

más de 3 años hace | 0

| aceptada

Respondida
How can I change 'NaT' value to normal Date value?
Hi, In this line of the code, you are setting InputFormat parameter for the variable 'Time' . opts = setvaropts(opts, "Time", ...

más de 3 años hace | 0

| aceptada

Respondida
New function tiledlayout problems
Hi, tiledlayout(m,n) % Gives you m*n plots tiledlayout(2,1) % Gives you only 2 plots Since you want 100 plots, you should giv...

más de 3 años hace | 0

Respondida
Adding existing axes objects to a new tiledlayout
Hi Christoph, set(arrayOfAxes{i}, 'Parent', t); % axes object can not be a child of t(tiledlayout) Each tile in 'tiledlayout'...

más de 3 años hace | 0

| aceptada

Respondida
Is Modbus RS485 Slave Write compatible with the Matlab 2018 versions?
Hi, It's not supported in MATLAB 2018 versions. Modbus RS485 Slave Write is introduced in R2020b

más de 3 años hace | 0

Cargar más