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

5 years ago | 2

| accepted

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

5 years ago | 0

| accepted

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

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 0

| accepted

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

5 years ago | 0

| accepted

Answered
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 =[]...

5 years ago | 0

| accepted

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

5 years ago | 1

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

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 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...

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 0

Answered
Plot part of data
plot(t.Amp(t.Amp<0.2000))

5 years ago | 0

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

5 years ago | 0

| accepted

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

5 years ago | 1

| accepted

Answered
Inverted pendulum with animation
In your MATLAB command window openExample('simulink_general/penddemoExample')

5 years ago | 0

| accepted

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

5 years ago | 0

Answered
Subplots with titles in the loop
Try indexing _name_ for each figure. name(bb)

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 1

| accepted

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

5 years ago | 0

| accepted

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

5 years ago | 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...

5 years ago | 0 answers | 0

0

answers

Answered
count even elements vector
you may use length(), or numel()

5 years ago | 0

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

5 years ago | 1

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

5 years ago | 0

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

5 years ago | 0

| accepted

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

5 years ago | 0

| accepted

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

5 years ago | 0

Load more