Answered
Draw a Morlet wavelet w(t) with t being set from -0.5 to 0.5 sec
fo = 40; cycles = 8; sigmaf = fo/cycles; sigmat = 1/(2*pi*sigmaf); t = linspace(-0.5,0.5,1...

8 years ago | 0

| accepted

Answered
Subscripted assignment dimension mismatch.
img16(i) = buff(index:index+width+1);

8 years ago | 0

| accepted

Answered
How can i copy .fig file in matlab ?
<https://in.mathworks.com/matlabcentral/answers/166273-copy-figure-to-clipboard#answer_162036>

8 years ago | 0

| accepted

Answered
MATLAB R2018b wont start after licence activation
if you are a student you can only use one version of MATLAB , if you have any other version of MATLAB please delete it and activ...

8 years ago | 0

Answered
How to keep Excel template format when using writetable
t = readtable ('testFile.xlsx') t.Var2(1,:) = 4 writetable(t,'testFile.xlsx');

8 years ago | 0

Answered
Where is located the "auto generated HTML file" once you publish in Matlab file exchange ?
Read the link below and follow the instructions mentioned: *<https://in.mathworks.com/matlabcentral/answers/418108-how-to-pub...

8 years ago | 1

Answered
how to flip the direction of the axis?
xticklabels([1:10]) %an example set ( gca, 'xdir', 'reverse' )

8 years ago | 8

| accepted

Answered
Perform a program that shows the series 1!/2!, 2!/3!, 3!/4!, .....
1) Create *n* as an *input*. 2) Make a loop until *n* . 3) Declare a variable named *n_series* with *loop* *iterator* as a...

8 years ago | 0

Answered
Undefined variable "testsets" or class "testsets"
You didn’t define testsets

8 years ago | 0

Answered
Hi, Matlab . what the past way to use the Matlab I learn a lot with some book and class but i still have prob;om with Matlab, code ....... what I can do ,, i have class nedds a lot Matlab 'thin film deaing'
The best way to learn Matlab is by taking part in this community. See lots of videos in youtube , think of everyday's things usi...

8 years ago | 0

Answered
How to get three sub matrices from a matrix of any order? How we will do for general matrix? I have given an example of order 5.
A= [1 4 5 7 8; 4 2 6 9 10; 5 6 3 1 1; 7 9 1 3 5; ...

8 years ago | 0

| accepted

Answered
Reference to the nonexistent field 'imdb'.
Try imdb.descriptors Or imdb.imgList

8 years ago | 0

| accepted

Answered
What is wrong with this code?
Z_0 = 1.007; Z_Total = 1.453; mu = 0.75; r = 0.001:0.001:4; Transmit = exp(-r*mu); T_0 =...

8 years ago | 0

| accepted

Answered
How to flip only some rows inside a matrix?
A=[2 5 6 7 8 9] a=fliplr(reshape(A,[3 2])) a([3 1])= a([1 3]) a=fliplr([a(1:2,:);flip(a(3,:))])

8 years ago | 2

| accepted

Answered
How can I create a new variable after replacing some data from old variable?
A = [1 2 3 4 5; 6 7 8 9 10] B=A B(A>3)=-999

8 years ago | 0

| accepted

Answered
Why is the threshold value of peak detection is 10^-4?
1e-4 ==> 10^-4

8 years ago | 0

Answered
how can I improve my looping script?
i=1; %while loop way while i<5 %['Input number = ',num2str(i)] a = input('Please choose nu...

8 years ago | 0

| accepted

Answered
how can convert string to matrix?
str2sym(U) %at the end

8 years ago | 0

Answered
whats wrong with this code? i wanna zoom 2D image using nearest neighbor interpolation
file is the name of the file , you should call the function as such because your function requires two inputs , you can't simply...

8 years ago | 0

| accepted

Answered
How do I create a square wave using 'zeros' and 'ones' functions?
*Edited* t = 0:0.01:10; x=ones(1,numel(t)) %add this x(t>=1 & t<2 | t>=3 & t<4 | t>=5 & t<=6 | t>=7 & t<=8 | t>=9 &...

8 years ago | 0

| accepted

Answered
Finding multiple minimum number in a column and location
a=[ 100 14 10 4 10 6 101 2 8 8 12 18 102 8 4 8 18 14 ...

8 years ago | 1

Answered
diag(.) does not work
Try clear all x=[8 1 6;3 5 7;4 9 2] diag(x)

8 years ago | 1

Answered
How to find mutual arrays position of multiple matrices with different length
>> b=find(ismember(A,B,'rows'))' b = 2 7 10 11 >>

8 years ago | 0

Answered
Can someone please describe how to code infinite products for pi/2?
Might help <https://www.mathworks.com/matlabcentral/answers/253778-how-do-i-approximate-the-value-of-pi#answer_198983>

8 years ago | 0

Answered
output drawing is empty ? figure not show up
x= 1:10 y= 11:20 figure() plot(x,y) figure() plot(2,4,'ok')

8 years ago | 0

Answered
Matlab slow initiating any command including just clicking on Mac
As it is associated with the license, it’s better to contact The MathWorks support team by click the Contact Us button on the to...

8 years ago | 0

Answered
Can anybody plz explain this code,specifically the 5th line..
a small example to illustrate a = rand(4,3) b = size(a) b(1) b(2)

8 years ago | 0

Answered
why it display Undefined variable for x when i hit run?(for the last line)
f=@sin; x1=0; x2=pi/3; x3=2*pi/3; x4=pi; n=4; a1=f(x1); a2=f(x2); a3=f(x3); a4=f(x4); a=[a1,a2,...

8 years ago | 0

| accepted

Answered
need to print a matrix with a string
or like this maybe?: student(1).lastname='alex '; student(1).quiz='3'; student(2).lastname='bob '; student(2).qu...

8 years ago | 0

| accepted

Answered
Coordonates of X knowing Y.
x=[1 6 8 9] y=[3 6 9 14] plot(x,y) y0=8.5 x0=interp1(y,x,y0)

8 years ago | 0

| accepted

Load more