Statistics
RANK
794
of 300,584
REPUTATION
98
CONTRIBUTIONS
1 Question
41 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
17
RANK
of 21,030
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
6 hours ago
Solved
Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...
6 hours ago
Solved
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
6 hours ago
Solved
Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...
7 hours ago
Solved
Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...
7 hours ago
Solved
surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...
7 hours ago
Solved
Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...
7 hours ago
Solved
Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...
7 hours ago
Solved
An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...
7 hours ago
Solved
Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...
7 hours ago
Solved
Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
7 hours ago
Solved
Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...
7 hours ago
Solved
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
7 hours ago
Solved
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...
7 hours ago
Solved
Battery Life Estimation for a Device
A battery-powered device consumes a constant current while operating. The estimated battery life (T) can be calculated using the...
15 days ago
Solved
The MATLAB Treasure Hunt – Decode the First Clue Hidden in a Jumbled Sequence of Numbers
You discover an ancient parchment inside the college archives. It contains a jumbled sequence of numbers that seems meaningless ...
28 days ago
saving graphic as pdf file not working "out of the box"
All of these options work fine for me with no warnings/errors on R2025b using Windows 10: plot(1:10) print -dpdf test.pdf sav...
2 months ago | 0
Can I get notification when a new version (e.g., 2025a) is released?
Here's your notification - MATLAB R2025a is out! To answer your question though, a couple of years ago I set up a ThingSpeak wo...
7 months ago | 0
Find items of a matrix using a per-column index
A = [1, 2, 3; 4, 5, 6]; idx = [2, 2, 1]; linearIndices = sub2ind(size(A), idx, 1:length(idx)); result = A(linearIndices)
10 months ago | 0
| accepted
hey so i need to repeat the code everytime to see and analyze the time responses for 20 different values of k. How can i do it at once and have the output for all the values?
There are many ways to go about this and your question is not very specific in what you want. What values do you want to keep? ...
1 year ago | 0
how to writefile string as a text-file with function
'\' is a formatting operator, so to get a backslash using fprintf/sprintf, you need to have a '\\'. Your first line contains mul...
1 year ago | 0
| accepted
smart function to switch functions
You could set up a function with a switch statement, something like: function odesolver(@fun,odesolverStr) switch odesolverStr...
1 year ago | 0
Use drawing made by user in UI Axes to be animated onto graph
I've attempted this with the MATLAB logo as the image which is 'creating' the sine wave (see attached, the PNG file has to be in...
1 year ago | 0
| accepted
Plotting between a point and a frame
Not excatly sure if I've understood your question, but here's my attempt at interpreting it: n = 50; t = linspace(0,2*pi,n); ...
1 year ago | 0
How do I Measure Distances in an Image and save them in an array?
I haven't been able to test this out but you should be able to change the output argument to include diffPos: function diffPos ...
1 year ago | 0
change mouse hover datatip information?
Since I don't have your GPSData data, here's a working example of how to do it using dataTipTextRow. See also Create Custom Data...
1 year ago | 0
| accepted
How do I display an image that a user uploads?
I'm glad it worked out for you! Just adding my comment as an answer so you can accept it 🙂 The code you are using should work...
2 years ago | 0
| accepted
Use regexp to find all letters in string except one
I copied your question (with no edits) into the MATLAB AI Chat Playground, and this was the response: Yes, it is possible to bu...
2 years ago | 0
Exportgraphics does only export black images from UIAxes
When I run this code (from the command window), it all works fine (Windows 10, MATLAB R2023b Update 6). See attached image for r...
2 years ago | 0
Error while using readPDFFormData to extract data from online pdf files
I was not able to get the URL to work directly either (not sure why since I'm pretty sure reading online images such as PNG/JPG ...
2 years ago | 0
| accepted











