A répondu
Storing vectors in a cluster?
a1=[2]; a2=[29 3]; a3=[3 2]; I will change them to cell array first for indexing, it is always my preference. a(1)=num2...

plus de 5 ans il y a | 2

| A accepté

A répondu
How to show a rigidbodytree model in App Designer axes?
Hi Yi Wan, Yes, it is working with specify the 'Parent', which axes to host the show(). show(robot,'Parent',ax2) [Upd...

plus de 5 ans il y a | 0

| A accepté

A répondu
how can I do this mathmatical operation?
I guess what you want is for i=1:2:(length(a(:,3))-2) b(i)= a(i,3)-a(i+1,3)+(a(i+2,3)-a(i+1,3)) end b(2:2:end...

plus de 5 ans il y a | 0

| A accepté

A répondu
How to change the scale of the x-axis & y-axis?
you may use xlimit() or ylimit() to rescale your plot. <https://www.mathworks.com/help/matlab/ref/xlim.html>

plus de 5 ans il y a | 0

A répondu
how to store values in second column of cell array
for i=1:1:length(faceData) faceData{i,2}=ceil(i/5); end Add the code above to the below of your code. Kindl...

plus de 5 ans il y a | 0

| A accepté

A répondu
Error : Indices must either be real positive integers or logicals.
I think your error is from here nodes(iel,:) first you assign zero to nodes with 400 x 8 dimension nodes = zeros(...

plus de 5 ans il y a | 0

| A accepté

A répondu
How to reduce writing using cat command?
Hi, play some trick will do. x{1,1} = [1 1 3; 4 5 6]; x{1,2} = [1 2 3; 5 6 7]; x{1,3} = [1 2 3; 4 5 6]; y1 =[]...

plus de 5 ans il y a | 0

| A accepté

A répondu
How to set ItemsData using external file (App Designer)?
Hi gage benham, *1st Step :* load your mat file. Make all the variable display in your drop menu automatically. filen...

plus de 5 ans il y a | 1

A répondu
Grouping Plots within an Axes
Use indexing, Element(i,num_group) = plot(Element1_x, Element1_y); when delete all your elements in group 1, delete...

plus de 5 ans il y a | 0

| A accepté

A répondu
make a loop for plotting diagrams
C = cat(3, XA20120601, XB20120704, XL20110603, XD20140403, XC20130531 , XB20090314, XA20110801, XA20080704, XL20170603, XB20...

plus de 5 ans il y a | 0

A répondu
Function Call not working properly
t = linspace(-10,15,26); plot(t, x_general(t)) function [x_out] = x_general(x_in) x_out = zeros(1,length(x_in))...

plus de 5 ans il y a | 0

Question


Single precision and Double Precision (Looking for explanation why are they different in the "gap" of precision number)
Hi, guys, i'm not sure whether i'm using correct term to ask about it or not. As per my understand, the gap between single p...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

A répondu
Transform column data to m x n matrix
Hi The best solution is : Drag your excel and drop it in MATLAB command window. It will pop out a app for you to config...

plus de 5 ans il y a | 0

A répondu
Plot part of data
plot(t.Amp(t.Amp<0.2000))

plus de 5 ans il y a | 0

A répondu
How to compile matlab .m to java using Application Complier
You need library compiler (MATLAB Compiler SDK), MATLAB compiler merely allow you compile to exe. file. If you have installed...

plus de 5 ans il y a | 0

| A accepté

A répondu
How to import sensor data in matlab?
Hi The best solution is : Drag your excel and drop it in MATLAB command window. It will pop out a app for you to confi...

plus de 5 ans il y a | 1

| A accepté

A répondu
Inverted pendulum with animation
In your MATLAB command window openExample('simulink_general/penddemoExample')

plus de 5 ans il y a | 0

| A accepté

A répondu
How to get statistical summary
A = ["Step" "Step" "Double" "Stop" "Continue"]; B = [ 34 56 23 123 0] [c,~,d] = unique(A); out = [c',accumarray(d,B),coun...

plus de 5 ans il y a | 0

A répondu
Subplots with titles in the loop
Try indexing _name_ for each figure. name(bb)

plus de 5 ans il y a | 0

| A accepté

A répondu
Where can I find document for various Excel COM objects and functions that operate on them?
Call COM Objects : <https://www.mathworks.com/help/matlab/using-com-objects-in-matlab.html>

plus de 5 ans il y a | 0

A répondu
How can I simultaneously loop through a folder and process an audio file and text file with the same name?
Hi, Assume there are 265 text file, and 265 audio file are same name. Therefore, i guess there are in same order of sequ...

plus de 5 ans il y a | 1

| A accepté

A répondu
extracting first letter from the cell
Hi, nam1 = {'John', 'Adam', 'Emma'} ; nam2 = {'Doe', 'Willson', 'Brown'}; ininam1 = strcat(nam1{1}(1),nam2{1}(1))...

plus de 5 ans il y a | 0

| A accepté

A répondu
where can I download matlab web app server
Offline installer is in the same folder. Go to : C:\Program Files\MATLAB\R2018b\toolbox\compiler\deploy\win64\MATLABWebAp...

plus de 5 ans il y a | 4

Question


After set HTLMComponentFactory as default, all my MATLAB Documentation is gone except Basic MATLAB
First, in MATLAB, MATLAB>Home>Help>Documentation There are some documentation of toolboxes can't be seen. In MATLAB Answer s...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

A répondu
count even elements vector
you may use length(), or numel()

plus de 5 ans il y a | 0

A répondu
Copy the curve in the Axes of a Figure to the Axes of a GUI
Hi, Refer to my code, you are almost there. a=figure; plot([0 1],[0 1]) FigAxes = findobj('Parent',a,'Type','axes'...

plus de 5 ans il y a | 1

A répondu
how could i pass variables through functions in appdesigner gui
Hi, omar mohamed, 1st, if you are passing variable within the object(your app designer figure), you are not necessary to set ...

plus de 5 ans il y a | 0

A répondu
Hyperlink in App Designer
Put code in callback function %Call back button function webpage('http://www.yahoo.com') %MATLAB Browser %or dos('...

plus de 5 ans il y a | 0

| A accepté

A répondu
Could someone help me identify why my for loop is not working?
Hi, d=[0 1; 0 0; 1 1; 1 0; 0 1; 0 0; 1 1; 1 0] x1=d(:,1); y1=d(:,2); dl = length(d); for i = 1:1:dl ...

plus de 5 ans il y a | 0

| A accepté

A répondu
How can I use relatively simple code to make bisections in a function until I find the zero?
Hi David Sahed, There are two ways 1) Use in built MATLAB function F = inline('(sqrt(log(x)^2+1))/cosh(x)-(x-(pi/6)...

plus de 5 ans il y a | 0

Charger plus