Extracting unique rows from cell array Matlab 2015a
I'm not sure what you mean by 'unique" in your question title. In the example you give, it looks like you just want to sort the ...

4 maanden ago | 0

| accepted

Unrecognized function or variable 'dudx'.
As far as I can tell, unless it is in a toolbox that I don't have there is no built in MATLAB function called dudx. If you thin...

4 maanden ago | 0

| accepted

Plot of head against velocity data based on timestamp similarity
First read in both of your datafiles. Then use MATLAB function interp1 to interpolate values at times matching the times in one...

4 maanden ago | 1

| accepted

How to split a number into 5 parts equalling the sum of the number
Not sure exactly what you are expecting, but obviously if your total number of rows is not a multiple of 5 then you cannot split...

4 maanden ago | 0

From frequency to time domain
If I understand what you are asking for correctly I am assuming that your matrix S has the fft of the original time domain data....

5 maanden ago | 0

| accepted

The voltage and current of the panel at maximum power point ?
You could use this approach. Suppose you first calculate (as I think you show above) equal length vectors of current, I, and vo...

5 maanden ago | 1

| accepted

Extract rows from a cell array based on keywords
Let say you call your cell array A, then you could do this: % make first column into numerical values rather than strings x = ...

5 maanden ago | 0

| accepted

It looks like your problem may be that you have a SISO (single input single output) transfer function block (Gnm) but the input ...

5 maanden ago | 0

| accepted

How do I access AppDesigner variables in a function that I write and call?
So I'm understanding that you have written a function and want to call it from within your appdesigner app. You then want this f...

5 maanden ago | 1

How can I find the last alpha_k value?
I was just going through your code and made a corrected version. I see now that Torsten has also given you a comment that echos ...

5 maanden ago | 0

| accepted

How can I find if edges in a subgraph SG appear inside/belong to a graph G?
You can name the edges in G and then the corresponding edges in the subgraph will have the same names as those in the main graph...

5 maanden ago | 1

| accepted

polynomial regression of a given function
You only solved for the coefficients. If you want to compare the original data and the fit you can do something like this, after...

5 maanden ago | 0

| accepted

Why do I recieve error when doing sinc function
If you want to plot the sinc value for a range of values then you need to pass it a vector of values. So for example: x = lins...

5 maanden ago | 0

Doubt about finding the nearest values between array and a matrix
You are overwriting the value of ID with each pass through your loop, so you only see the value for the last pass. If you want ...

5 maanden ago | 1

How do I solve an ODE of the form y'=ay^3 +by^2 +cy +d?
The ode solvers, e.g. ode45 require a function handle which will evaluate the current value of the derivative given the current ...

5 maanden ago | 0

| accepted

How to select multiple excel files with the uigetfile function?
[file_list,path_name] = uigetfile('*.xlsx','MyDialog','MultiSelect','on'); You were missing the dialog name argument, so it was...

5 maanden ago | 0

How to convert time column into a regular array?
t = seconds(A_time.Time - A_time.Time(1))

5 maanden ago | 0

"Unable to find or open 'Filename.txt'" error in MATLAB 2022a for files from a shared network drive.
Sometimes Windows loses the connection to the mapped drive. Can you still open the folder in Windows File Explorer? Sometimes it...

5 maanden ago | 0

Accessing appdesigner objects properties from a function
First, I'm not sure why you would want to just have a single button pushed callback for multiple buttons. Why not just break th...

5 maanden ago | 0

Question

Is applying a binary operator (+,-,*,/) to char arrays supported by MATLAB or just a "trick"
I recently came across the use of the following way to obtain the individual digits of a binary number as an array of doubles, f...

5 maanden ago | 5 answers | 2

### 5

Find the Minimum Combination of Sum
If I understand what you are trying to do, I think this might work for you A = rand(100,1); % define matrix which can be mul...

5 maanden ago | 1

I want to plot graph between partial pressure of ammonia and Length but it has error.
Note that in your assignment for pNH3 the index is n, not n+1 so it only get assigned values up to the max value of n set by th...

5 maanden ago | 0

| accepted

calculate the minimum probability
Say you have three matrices of the same size A,B,C then you can find the minimum as you describe using D = min(min(A,B),C)

5 maanden ago | 0

| accepted

Why doesn't Newton's method calculate the correct temperature
Is there a reason you are using your own solver here rather than the MATLAB fzero (for function of one variable) or fsolve for s...

6 maanden ago | 0

| accepted

Simulation of random walk
It looks like you already "store the j values into the array node_visited. So it looks like you should be doing your summaries...

6 maanden ago | 0

| accepted

Check an entire matrix against each value of another matrix
If I understand what you are looking for, I think this will do it in a very simple way c = intersect(a,b) >> a = [4 3]; b = [...

6 maanden ago | 0

| accepted

How can the points of a scatter plot placed on a new matrix?
Assuming you mean by the first point, second point, etc in the scatter plot their order of appearance from left to right (along ...

6 maanden ago | 0

| accepted

How to find indices in a vector satisfying a condition for a minimum consecutive number of entries
Here's one approach. You could shorten this up a little by combining some of the individual statements into more complicated on...

6 maanden ago | 1

| accepted