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

alrededor de 6 años hace | 2

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 1

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

Pregunta


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

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 4

Pregunta


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

alrededor de 6 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 1

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

Cargar más