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>

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

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

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

7 years ago | 5

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

7 years ago | 0 answers | 0

0

answers

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

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

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

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

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

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

7 years ago | 0

Answered
FIGURES WON'T COME WHEN THEY ARE BEING PLOTTED AND COME TOGETHER AT LAST
Hi, you may add drawnow() and pause() for the figure to response first figure ; hold on for n= 1:k plot(x,y) ...

7 years ago | 0

Answered
How to uncheck a checkbox when pressing a radiobutton on the interface by the user (not from the code)?
Hi Christina Irigoyen, To uncheck your checkbox, simply assign false to the value of your checkbox in your function app....

7 years ago | 4

Answered
Any master willing to guide a beginner to code the app of 2 input and lamp as output (appdesigner)?
Hi engchai Ang, I guess you have tried your best to do it. Refer to my code, paste this code in your callback function a...

7 years ago | 1

| accepted

Answered
I am creating a user define function that calculates a polynomial using the bisection method. I am getting parse error near line 14 of the file.
Hi Jamilah Carlos, y=@(f,rough,d, Re) 1./sqrt(f) + 2.0*log10((rough/d)/3.7 + 2.51./(Re.*sqrt(f))); There are many unk...

7 years ago | 1

Answered
Invoking Matlab function from VBA
Very interesting. I never try out this way in VBA to call MATLAB, normally, I follow MATLAB spreadsheet link. Or you try GetF...

7 years ago | 0

| accepted

Answered
Create a GUI to serve as simple ANN to classify the 3 inputs to good or bad
in your matlab command window,type appdesigner Design your GUI. Subsequently, click button> button.properties (left h...

7 years ago | 1

| accepted

Answered
Problem with animated line and GUI
Refer to my code, how to specify the axes for plot the animated line. In your code, there is ' _gui_OpeningFcn', @transmision...

7 years ago | 0

| accepted

Answered
Hiding x and y axes, but leaving top and right axes visible?
Hi Erik, plot([0 1],[0 1]) set(gca,'XAxisLocation','top','YAxisLocation','right'); Is this what you want?

7 years ago | 0

| accepted

Answered
Can someone help me create a script to solve the following?
Question 1 Answer a= 1; r= 1/7; n= 6; s = a*r.^(0:n-1); later, you put _format long_ to calculate the exact va...

7 years ago | 0

Answered
how do i write a function that can choose a desired number of statistic from a given list?
Hi Brenda, function choose3(a,b,c) simplevar = [1 2 3 4 5 6]; a = string(a); b = string(b); c = string(c); ...

7 years ago | 0

| accepted

Answered
How can I divide a linear array into 8 equal parts?
*How to count no of 1's from each parts ?* if let say we divide into 5 rows: B = reshape(A,[],5); partSum = sum(B); ...

7 years ago | 0

Answered
How can I sort an array with two columns?
Hi, Info = [52211 3.55; 52922 1.79; 51939 3.33; 12140 0.81]; [~,I] = sort(Info(:,2),'descend'); Info(I,:); Done! ...

7 years ago | 0

Answered
use fzero to solve for a parameter
Hi Ivy Shen, As I see your code, there are 5 equations to solve a. Therefore, we should load a for loop to solve them one by ...

7 years ago | 0

| accepted

Answered
How to get the value from the checboxes after push a Button?
Hi Ma Le Thai, Hope my solution help you clear all close all % Create figure & its components figure = di...

7 years ago | 0

| accepted

Answered
how to read multiple mat files and and extract data from those
Hi Suhas Goravale Siddaramu, I have tried out your attached mat. file. I guess you are saying row 11 instead of column 11. In...

7 years ago | 0

| accepted

Answered
Why doesn't my plot turn out the way it should?
Hi clc clear all %creating matrices for Solid-State Rate and Integral Expressions for Different Reaction Models s...

7 years ago | 0

| accepted

Answered
How to match a real time captured image with the given image in database in matlab ?
Hi Md.Arif Bin Asad, Hope this example can help you. There are many attached link which is related. <https://www.mathworks...

7 years ago | 0

Answered
How to sum only positive rows of a matrices?
r = [ 1 -2 3; 1 2 -5; -5 -2 1]; r(r<0)=0 ans_sum_row_positive=sum(r,2) Image Analyst provide the good hint. The rest ...

7 years ago | 0

| accepted

Answered
Problem with interpolating missing data
Hi D J, Hope my code could help you. T_Req3 = [ 26 24.6 27.3 26.4 19.3 16.1 24.3 23.3 25.1 21.2 ...

7 years ago | 0

Load more