Answered
how can I edit my name in Onramp certificate
You will probably have to modify your account. https://www.mathworks.com/mwaccount/profiles/edit

6 years ago | 0

Answered
Continue matlab while a dos/system command is executed / close dos window
Try the start command. It will detach and run, so that might run your starter function without opening a new cmd window. Anothe...

6 years ago | 0

| accepted

Answered
How can I download my matlab Onramp certificate
Go to https://matlabacademy.mathworks.com/ Click on "View/Share Certificate" and click on "View/print certificate". Then in th...

6 years ago | 2

Answered
On MATLAB GUIs and Graphic Design
For general advice about GUIs in Matlab I would suggest this thread. I would not recommend to start digging deep if you're fair...

6 years ago | 0

Answered
How to read a UTF-8 encoded text file as a single character vector including white spaces and unicode special characters?
I wrote the readfile function for this goal. It will result in a cell array, but you can concatenate them back to a long char ar...

6 years ago | 1

Answered
Finding handles to figure text
The doc suggests the HandleVisibility property should be on to be found. The code below returns off on my copy of R2020a. The R2...

6 years ago | 2

| accepted

Answered
resample no longer accepts NaN?
This is an undocumented change. Apart from a non-code addition at the end of the file, line 100 and 103 now include an isfinite ...

6 years ago | 0

Answered
How can I make following part of code without for loop?
Your issue is probably not with the loop itself, but with the modifications to the large matrix. You should probably generate a ...

6 years ago | 0

Answered
How do I write an if loop in a nested for loop
Welcome to the world of floats. Just as you can't write 1/3 in decimal with a finite number of digits, computers can't store exa...

6 years ago | 0

| accepted

Answered
Error with lsqcurvefit: "Function value and YDATA sizes are not equal" even though I checked and they are equal.
You switched the order of the two inputs: the parameters should be the first input argument. params=[100000, 1e+20, 2, 6]; Xin...

6 years ago | 0

Answered
How can i fix the Error at 1
You probably mean this instead: fd=@(x)+(3*(x^2))+(x^-2); % ^ ^ ^ % | add the * remove the extra ...

6 years ago | 0

Answered
Generating linear array [0 -1 0 1 -2 -1 0 1 2 ......]
No need for a for-loop: n=4; output=cell2mat(arrayfun(@(x) -x:x,0:n,'UniformOutput',false)); %test against your example ex...

6 years ago | 0

Answered
Regarding certificate and badge
On the Matlab Academy page you should see a button "View/Share Certificate".

6 years ago | 0

Answered
What's the diff between seqfilter & seqtrim?
The way I read the documentation, seqfilter selects or rejects sequences and seqtrim edits the sequences themselves. I have nev...

6 years ago | 0

Answered
How can I convert my matrix of 61 x 1 cells (60 cells of 10 x 1 and 1 cell of 3 x 1) to an array of 603 x 1?
If you look closer you will see that cell 61 is not 3x1, but 1x3. %generate sample data data=cell(61,1); for n=1:61 data...

6 years ago | 0

Answered
How do you make a certain selection from a user with the menu command display through switch,case and if,elseit,else statements?
If you don't open any figures, don't use close all. Also don't use clear all, use clear or clearvars instead. If you read the d...

6 years ago | 0

| accepted

Answered
Undefined function or variable 't'.
There are several problems with your code. The one causing the error is that you are using t in your inner loop in your obj func...

6 years ago | 0

Answered
Web scraping recipe data from the internet
Load the page as a char array, then search for '<p>You need:</p>'. The list of ingredients is enclosed by ul tags, so that shoul...

6 years ago | 0

Answered
Error message on titled layout code
You have a typo: you had an extra t in tiledlayout. For releases before R2019b you can use subplot. You could use a wrapper lik...

6 years ago | 0

| accepted

Answered
如果在Windows系统中同时打开多个MATLAB,系统分配的内存是不是相互独立的呢?
Every instance of Matlab that you start is independent of the others. If you have enough memory you should not get any memory er...

6 years ago | 0

Answered
MATLAB does not recognize the matrix
As Peng Li alludes to: your scores are char arrays. Why? It makes much more sense to store them are numeric arrays. That way you...

6 years ago | 0

Answered
left and right sides have a different number of elements
I hesitate to even answer this question. The use of eval is a bad idea. Do not do that. eval can almost always be avoided and yo...

6 years ago | 0

| accepted

Answered
how to find the conv of x and h
There are two path: Option 1: Write x(t) and h(t) as matlab functions Sample each for some range of values of t Use the conv...

6 years ago | 0

Answered
How can I Choose one built-in dataset in MATLAB?
You may be looking for a collection that you can find here: https://www.mathworks.com/matlabcentral/answers/490917-list-of-built...

6 years ago | 1

Answered
How can i use linspace with different intervals?
You will have to call linspace multiple times: part1=linspace(0,0.9,91); part2=linspace(0.9,1,91); x = [part1,part2(2:end)];

6 years ago | 0

| accepted

Answered
cd command and !cd command give different path
Those are two different situations cd runs the Matlab function cd and retrieves the current directory that Matlab is using !cd...

6 years ago | 1

Answered
Adding a new value to an array within a loop
You aren't correctly indexing: %replace this t1_0(m) = sum(x0); %with this t1_0(i) = sum(x0);

6 years ago | 1

| accepted

Answered
How to Store Output from Function Within Nested for Loop
The same way you capture any output from a function. You might need an intermediate step to put your vectors in a cell first. F...

6 years ago | 1

Answered
How to extract X value given Y value from graph.
You can treat x as y and y as x. That way you can use normal interpolation and curve fitting tools.

6 years ago | 1

Answered
i need to make this function work without puting inputs all i need to call it put the z and the n and the function will give me the answer
Why are you defining everything as symbolic? Why aren't you storing any output? Why are you overwriting your inputs with the sym...

6 years ago | 1

| accepted

Load more